summaryrefslogtreecommitdiffstats
path: root/kate/app/katemainwindow.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2013-12-14 20:41:41 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-12-14 20:41:41 +0100
commit43e8fa69b3986331806e9a69f6b3b8f52421ff5c (patch)
treed3f07dace5617bf736cc74c74290d7c064c5d7df /kate/app/katemainwindow.cpp
parentb88d1a9c266a40f669b8efbe709449e14872c78f (diff)
downloadtdebase-43e8fa69b3986331806e9a69f6b3b8f52421ff5c.tar.gz
tdebase-43e8fa69b3986331806e9a69f6b3b8f52421ff5c.zip
Fix wrong maintained kate MRU list if any plugin is enabled
This resolves Bug 1743
Diffstat (limited to 'kate/app/katemainwindow.cpp')
-rw-r--r--kate/app/katemainwindow.cpp11
1 files changed, 3 insertions, 8 deletions
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 ()