Commit 13a99a7e authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎮
Browse files

Set program logo in KAboutData and trigger KIconLoader plugin in the process

parent 82129cd8
Pipeline #64689 passed with stage
in 4 minutes and 7 seconds
......@@ -43,4 +43,7 @@
<file alias="tvdisconnected.svg">status/32-status-tvdisconnected.svg</file>
<file alias="tvtrusted.svg">status/32-status-tvtrusted.svg</file>
</qresource>
<qresource prefix="/icons/kdeconnect/">
<file alias="kdeconnect.svg">app/sc-apps-kdeconnect.svg</file>
</qresource>
</RCC>
......@@ -41,6 +41,9 @@ int main(int argc, char** argv)
i18n("(C) 2016 Aleix Pol Gonzalez"));
KAboutData::setApplicationData(about);
// Trigger loading the KIconLoader plugin
about.setProgramLogo(QIcon(QStringLiteral(":/icons/kdeconnect/kdeconnect.svg")));
#ifdef Q_OS_WIN
QApplication::setStyle(QStringLiteral("breeze"));
IndicatorHelper helper(QUrl::fromLocalFile(qApp->applicationDirPath()));
......
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