From 607d643d8c1e42dd570fde1c9bec4940921076ce Mon Sep 17 00:00:00 2001 From: Piyush Aggarwal Date: Mon, 19 Aug 2019 18:57:45 +0000 Subject: [PATCH] add `windowIcon` to daemon for better support on Windows --- daemon/kdeconnectd.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/daemon/kdeconnectd.cpp b/daemon/kdeconnectd.cpp index 69e749ff1..6f341bc83 100644 --- a/daemon/kdeconnectd.cpp +++ b/daemon/kdeconnectd.cpp @@ -26,6 +26,8 @@ #include #include #include +#include +#include #include #include @@ -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 {