X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fmonoapplication.cpp;h=aa54ddf44e6edfae1c82d5284d4bcd22b27dab2b;hb=1f21c1f9613031ae263eeed0c4883bfcd5488343;hp=beee2cd8d729ea51c5a712691225d9b1173ee172;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/main/monoapplication.cpp b/src/main/monoapplication.cpp index beee2cd8..aa54ddf4 100644 --- a/src/main/monoapplication.cpp +++ b/src/main/monoapplication.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -24,14 +24,17 @@ #include "core.h" #include "coreapplication.h" #include "internalpeer.h" -#include "logmessage.h" #include "qtui.h" class InternalPeer; MonolithicApplication::MonolithicApplication(int& argc, char** argv) : QtUiApplication(argc, argv) -{} +{ +#if QT_VERSION >= 0x050700 + QGuiApplication::setDesktopFileName(Quassel::buildInfo().applicationName); +#endif +} void MonolithicApplication::init() { @@ -50,7 +53,7 @@ void MonolithicApplication::init() Quassel::QuitHandler MonolithicApplication::quitHandler() { return [this]() { - quInfo() << "Client shutting down..."; + qInfo() << "Client shutting down..."; connect(_client.get(), &QObject::destroyed, this, &MonolithicApplication::onClientDestroyed); _client.release()->deleteLater(); };