projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Internal changes to message redirection. As a side effect this will
[quassel.git]
/
src
/
qtui
/
qtuiapplication.cpp
diff --git
a/src/qtui/qtuiapplication.cpp
b/src/qtui/qtuiapplication.cpp
index
90e2739
..
b6f9ca3
100644
(file)
--- a/
src/qtui/qtuiapplication.cpp
+++ b/
src/qtui/qtuiapplication.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
8 by the Quassel IRC Team
*
+ * Copyright (C) 2005-0
9 by the Quassel Project
*
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-47,14
+47,14
@@
// }
QtUiApplication::QtUiApplication(int &argc, char **argv)
// }
QtUiApplication::QtUiApplication(int &argc, char **argv)
- : QApplication(argc, argv), Quassel()
-{
- setRunMode(Quassel::ClientOnly);
+#ifdef HAVE_KDE
+ : KApplication(), Quassel() {
+ Q_UNUSED(argc); Q_UNUSED(argv);
+#else
+ : QApplication(argc, argv), Quassel() {
+#endif
- // put client-only arguments here
- CliParser *parser = Quassel::cliParser();
- parser->addSwitch("debugbufferswitches",0,"Enables debugging for bufferswitches");
- parser->addSwitch("debugmodel",0,"Enables debugging for models");
+ setRunMode(Quassel::ClientOnly);
qInstallMsgHandler(Client::logMessage);
}
qInstallMsgHandler(Client::logMessage);
}