Commit 607d643d authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎱

add `windowIcon` to daemon for better support on Windows

parent 16de0150
Pipeline #6838 passed with stage
in 7 minutes and 26 seconds
......@@ -26,6 +26,8 @@
#include <QCommandLineParser>
#include <QDBusMessage>
#include <QSessionManager>
#include <QStandardPaths>
#include <QIcon>
#include <KAboutData>
#include <KDBusService>
......@@ -51,7 +53,9 @@ public:
DesktopDaemon(QObject* parent = nullptr)
: Daemon(parent)
, m_nam(nullptr)
{}
{
qApp->setWindowIcon(QIcon(QStandardPaths::locate(QStandardPaths::AppLocalDataLocation, QStringLiteral("icons/hicolor/scalable/apps/kdeconnect.svgz"))));
}
void askPairingConfirmation(Device* device) override
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment