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.
This commit is contained in:
parent
1ba446d1c5
commit
0a0c990501
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -45,5 +45,6 @@
|
|||
</qresource>
|
||||
<qresource prefix="/icons/kdeconnect/">
|
||||
<file alias="kdeconnect.svg">app/sc-apps-kdeconnect.svg</file>
|
||||
<file alias="kdeconnect.png">app/128-apps-kdeconnect.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
Loading…
Reference in a new issue