summaryrefslogtreecommitdiffstats
path: root/kate/app/katemainwindow.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-08-17 14:45:11 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-08-17 14:45:11 -0500
commitf3db9433f8b18683e192c97835d15c26f19b96a0 (patch)
tree6e20c9772d410294f5e68d6a844bebc9c57c0b71 /kate/app/katemainwindow.cpp
parent82958c52cc4e119f0f7dbbd6740a4491d383c9aa (diff)
downloadtdebase-f3db9433f8b18683e192c97835d15c26f19b96a0.tar.gz
tdebase-f3db9433f8b18683e192c97835d15c26f19b96a0.zip
Add the ability to force Kate into MDI mode all the time.
This resolves bug report 1127.
Diffstat (limited to 'kate/app/katemainwindow.cpp')
-rw-r--r--kate/app/katemainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kate/app/katemainwindow.cpp b/kate/app/katemainwindow.cpp
index cf62e77f1..ada436a07 100644
--- a/kate/app/katemainwindow.cpp
+++ b/kate/app/katemainwindow.cpp
@@ -406,6 +406,7 @@ void KateMainWindow::readOptions ()
config->setGroup("General");
syncKonsole = config->readBoolEntry("Sync Konsole", true);
+ useInstance = config->readBoolEntry("UseInstance", false);
modNotification = config->readBoolEntry("Modified Notification", false);
KateDocManager::self()->setSaveMetaInfos(config->readBoolEntry("Save Meta Infos", true));
KateDocManager::self()->setDaysMetaInfos(config->readNumEntry("Days Meta Infos", 30));
@@ -437,6 +438,8 @@ void KateMainWindow::saveOptions ()
config->writeEntry("Sync Konsole", syncKonsole);
+ config->writeEntry("UseInstance", useInstance);
+
fileOpenRecent->saveEntries(config, "Recent Files");
fileselector->writeConfig(config, "fileselector");