projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Notification backends now can emit a signal activated() that tells MainWin to raise...
[quassel.git]
/
src
/
core
/
coreapplication.cpp
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;