projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2137190
)
Make --norestore work again
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Fri, 26 Dec 2008 12:24:01 +0000
(13:24 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Fri, 26 Dec 2008 12:24:06 +0000
(13:24 +0100)
src/core/coreapplication.cpp
patch
|
blob
|
history
diff --git
a/src/core/coreapplication.cpp
b/src/core/coreapplication.cpp
index
9ad452e
..
ca0f527
100644
(file)
--- 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;
Core::instance(); // create and init the core
_coreCreated = true;
+#ifdef HAVE_KDE
// if using KDE, option is called "restore" instead of "norestore"
// 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;
Core::restoreState();
return true;