X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fqtuiapplication.cpp;h=6972dd040d7d2230fadc2c99e62da1ad8a6f8d35;hb=965183188ee726036685fcba379c2559bd183247;hp=90e2739d5dd35a2e62ea1ca2721801f03630c516;hpb=60021fef0c9644e022095043a9072d5ad99c89e4;p=quassel.git diff --git a/src/qtui/qtuiapplication.cpp b/src/qtui/qtuiapplication.cpp index 90e2739d..6972dd04 100644 --- a/src/qtui/qtuiapplication.cpp +++ b/src/qtui/qtuiapplication.cpp @@ -47,15 +47,14 @@ // } QtUiApplication::QtUiApplication(int &argc, char **argv) +#ifdef HAVE_KDE + : KApplication(), Quassel() +#else : QApplication(argc, argv), Quassel() +#endif { setRunMode(Quassel::ClientOnly); - // 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"); - qInstallMsgHandler(Client::logMessage); }