diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-06 04:54:32 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-06 04:54:32 +0000 |
commit | 49dbcf2c5d75fd9a87f0ad11788f00ee88db9b30 (patch) | |
tree | f7bc17663ddffda5714213aa7e36baf238c22280 | |
parent | 99739b61143c05f7fb1157dc145e19e9c090de6e (diff) | |
download | tdelibs-49dbcf2c5d75fd9a87f0ad11788f00ee88db9b30.tar.gz tdelibs-49dbcf2c5d75fd9a87f0ad11788f00ee88db9b30.zip |
Fix kdelibs FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1245206 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r-- | kinit/autostart.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kinit/autostart.cpp b/kinit/autostart.cpp index f1f84fc25..d6a10e537 100644 --- a/kinit/autostart.cpp +++ b/kinit/autostart.cpp @@ -123,7 +123,7 @@ AutoStart::loadAutoStartList() ++it) { KDesktopFile config(*it, true); - if (config.hasKey("X-TDE-autostart-condition") { + if (config.hasKey("X-TDE-autostart-condition")) { if (!startCondition(config.readEntry("X-TDE-autostart-condition"))) continue; } @@ -201,13 +201,13 @@ AutoStart::loadAutoStartList() AutoStartItem *item = new AutoStartItem; item->name = extractName(*it); item->service = *it; - if (config.hasKey("X-TDE-autostart-after") + if (config.hasKey("X-TDE-autostart-after")) item->startAfter = config.readEntry("X-TDE-autostart-after"); else item->startAfter = config.readEntry("X-KDE-autostart-after"); if( m_newStartup ) { - if (config.hasKey("X-TDE-autostart-phase") + if (config.hasKey("X-TDE-autostart-phase")) item->phase = config.readNumEntry("X-TDE-autostart-phase", 2); else item->phase = config.readNumEntry("X-KDE-autostart-phase", 2); @@ -216,7 +216,7 @@ AutoStart::loadAutoStartList() } else { - if (config.hasKey("X-TDE-autostart-phase") + if (config.hasKey("X-TDE-autostart-phase")) item->phase = config.readNumEntry("X-TDE-autostart-phase", 1); else item->phase = config.readNumEntry("X-KDE-autostart-phase", 1); |