diff options
Diffstat (limited to 'quanta/src/kqapp.cpp')
-rw-r--r-- | quanta/src/kqapp.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/quanta/src/kqapp.cpp b/quanta/src/kqapp.cpp index b39b0c46..212bc68f 100644 --- a/quanta/src/kqapp.cpp +++ b/quanta/src/kqapp.cpp @@ -80,12 +80,12 @@ KQApplication::KQApplication() KConfig *config = kapp->config(); config->setGroup("General Options"); int mdiMode = config->readNumEntry("MDI mode", KMdi::IDEAlMode); - TQString layout = config->readEntry("Window layout", "Default"); - if (layout == "Default" || args->isSet("resetlayout")) + TQString tqlayout = config->readEntry("Window tqlayout", "Default"); + if (tqlayout == "Default" || args->isSet("resettqlayout")) { mdiMode = KMdi::IDEAlMode; config->writeEntry("MDI mode", KMdi::IDEAlMode); - config->writeEntry("Window layout", "Default"); + config->writeEntry("Window tqlayout", "Default"); } quantaApp = new QuantaApp(mdiMode); config->setGroup("General Options"); @@ -151,11 +151,11 @@ int KQUniqueApplication::newInstance() KConfig *config = kapp->config(); config->setGroup("General Options"); int mdiMode = config->readNumEntry("MDI mode", KMdi::IDEAlMode); - TQString layout = config->readEntry("Window layout", "Default"); - if (layout == "Default" || args->isSet("resetlayout")) + TQString tqlayout = config->readEntry("Window tqlayout", "Default"); + if (tqlayout == "Default" || args->isSet("resettqlayout")) { mdiMode = KMdi::IDEAlMode; - config->writeEntry("Window layout", "Default"); + config->writeEntry("Window tqlayout", "Default"); config->writeEntry("MDI mode", KMdi::IDEAlMode); } quantaApp = new QuantaApp(mdiMode); |