From 43e8fa69b3986331806e9a69f6b3b8f52421ff5c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 14 Dec 2013 20:41:41 +0100 Subject: Fix wrong maintained kate MRU list if any plugin is enabled This resolves Bug 1743 --- kate/app/katemainwindow.cpp | 11 +++-------- kate/app/katepluginmanager.cpp | 1 - 2 files changed, 3 insertions(+), 9 deletions(-) (limited to 'kate/app') diff --git a/kate/app/katemainwindow.cpp b/kate/app/katemainwindow.cpp index 14a5341c5..4cd3c358e 100644 --- a/kate/app/katemainwindow.cpp +++ b/kate/app/katemainwindow.cpp @@ -422,7 +422,6 @@ void KateMainWindow::readOptions () void KateMainWindow::saveOptions () { TDEConfig *config = KateApp::self()->config (); - config->setGroup("General"); if (console) @@ -431,20 +430,16 @@ void KateMainWindow::saveOptions () config->writeEntry("Show Console", false); config->writeEntry("Save Meta Infos", KateDocManager::self()->getSaveMetaInfos()); - config->writeEntry("Days Meta Infos", KateDocManager::self()->getDaysMetaInfos()); - config->writeEntry("Show Full Path in Title", m_viewManager->getShowFullPath()); - config->writeEntry("Sync Konsole", syncKonsole); - config->writeEntry("UseInstance", useInstance); - + fileOpenRecent->saveEntries(config, "Recent Files"); - fileselector->writeConfig(config, "fileselector"); - filelist->writeConfig(config, "Filelist"); + + config->sync(); } void KateMainWindow::slotWindowActivated () diff --git a/kate/app/katepluginmanager.cpp b/kate/app/katepluginmanager.cpp index 455866a0b..3e0a93f69 100644 --- a/kate/app/katepluginmanager.cpp +++ b/kate/app/katepluginmanager.cpp @@ -65,7 +65,6 @@ void KatePluginManager::setupPluginList () TQString pVersion = ptr->property("X-Kate-Version").toString(); -// if ((pVersion >= "2.5") && (pVersion <= KateApp::kateVersion(false))) if (pVersion == "2.5") { KatePluginInfo info; -- cgit v1.2.1