From a454ca7a22c1b3d9faf1f0fb8b1c9d7d0aa7847c Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Fri, 26 Dec 2008 13:24:01 +0100 Subject: [PATCH] Make --norestore work again --- src/core/coreapplication.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 2.20.1