diff --git a/app/main.cpp b/app/main.cpp index 57ae4606b..ef668eb0f 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -19,6 +19,7 @@ */ #include +#include #include #include #include @@ -30,6 +31,7 @@ int main(int argc, char* argv[]) { QApplication app(argc, argv); + app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kdeconnect"))); KAboutData aboutData(QStringLiteral("kdeconnect.app"), i18n("KDE Connect"), QStringLiteral("1.0"), i18n("KDE Connect"), KAboutLicense::GPL, i18n("(c) 2015, Aleix Pol Gonzalez")); aboutData.addAuthor(i18n("Aleix Pol Gonzalez"), i18n("Maintainer"), QStringLiteral("aleixpol@kde.org")); KAboutData::setApplicationData(aboutData); diff --git a/settings/main.cpp b/settings/main.cpp index 00bcb55ed..5d1bfab3b 100644 --- a/settings/main.cpp +++ b/settings/main.cpp @@ -31,6 +31,7 @@ int main(int argc, char** argv) { QApplication app(argc, argv); + app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kdeconnect"))); KAboutData about(QStringLiteral("kdeconnect-settings"), i18n("KDE Connect Settings"), QStringLiteral(KDECONNECT_VERSION_STRING), diff --git a/smsapp/main.cpp b/smsapp/main.cpp index 98caf8211..32bf6a9ee 100644 --- a/smsapp/main.cpp +++ b/smsapp/main.cpp @@ -39,6 +39,7 @@ int main(int argc, char *argv[]) { QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); QApplication app(argc, argv); + app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kdeconnect"))); KAboutData aboutData(QStringLiteral("kdeconnect.sms"), i18n("KDE Connect SMS"), QStringLiteral(KDECONNECT_VERSION_STRING), diff --git a/urlhandler/kdeconnect-handler.cpp b/urlhandler/kdeconnect-handler.cpp index f3d83a820..79006e901 100644 --- a/urlhandler/kdeconnect-handler.cpp +++ b/urlhandler/kdeconnect-handler.cpp @@ -45,6 +45,7 @@ int main(int argc, char** argv) { QApplication app(argc, argv); + app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kdeconnect"))); const QString description = i18n("KDE Connect URL handler"); KAboutData about(QStringLiteral("kdeconnect-urlhandler"), description,