From 0a0c9905019259c9d73d91d62c356651b9d5ef29 Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Wed, 28 Jun 2023 00:03:08 +0200 Subject: [PATCH] Fix daemon hanging on Windows when loading the window icon I'm not sure why this started failing suddenly (or if it's only on my machine), but changing the icon from svg to png solves the problem. --- daemon/kdeconnectd.cpp | 2 +- icons/custom_icons.qrc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/kdeconnectd.cpp b/daemon/kdeconnectd.cpp index bd2447015..d216098c5 100644 --- a/daemon/kdeconnectd.cpp +++ b/daemon/kdeconnectd.cpp @@ -42,7 +42,7 @@ public: DesktopDaemon(QObject *parent = nullptr) : Daemon(parent) { - qApp->setWindowIcon(QIcon(QStringLiteral(":/icons/kdeconnect/kdeconnect.svg"))); + qApp->setWindowIcon(QIcon(QStringLiteral(":/icons/kdeconnect/kdeconnect.png"))); } void askPairingConfirmation(Device *device) override diff --git a/icons/custom_icons.qrc b/icons/custom_icons.qrc index 81fcc23e5..df8273bc5 100644 --- a/icons/custom_icons.qrc +++ b/icons/custom_icons.qrc @@ -45,5 +45,6 @@ app/sc-apps-kdeconnect.svg + app/128-apps-kdeconnect.png