From: Manuel Nickschas Date: Fri, 26 Dec 2008 12:24:01 +0000 (+0100) Subject: Make --norestore work again X-Git-Tag: 0.4.0~316 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=a454ca7a22c1b3d9faf1f0fb8b1c9d7d0aa7847c Make --norestore work again --- diff --git a/src/core/coreapplication.cpp b/src/core/coreapplication.cpp index 9ad452ed..ca0f5273 100644 --- a/src/core/coreapplication.cpp +++ b/src/core/coreapplication.cpp @@ -52,8 +52,12 @@ bool CoreApplicationInternal::init() { Core::instance(); // create and init the core _coreCreated = true; +#ifdef HAVE_KDE // if using KDE, option is called "restore" instead of "norestore" - if(Quassel::isOptionSet("restore") || !Quassel::isOptionSet("norestore")) + if(Quassel::isOptionSet("restore")) +#else + if(!Quassel::isOptionSet("norestore")) +#endif Core::restoreState(); return true;