/***************************************************************************
- * Copyright (C) 2005-2018 by the Quassel Project *
+ * Copyright (C) 2005-2020 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#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()
{
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();
};