Commit 7f87a4f1 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Set breeze as fallback icon theme for all executables

(cherry picked from commit c9bdf625)
parent f2f4788c
Pipeline #72519 skipped
......@@ -19,6 +19,8 @@
int main(int argc, char* argv[])
{
QIcon::setFallbackThemeName(QStringLiteral("breeze"));
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"));
......
......@@ -32,6 +32,8 @@
int main(int argc, char** argv)
{
QIcon::setFallbackThemeName(QStringLiteral("breeze"));
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
KAboutData about(QStringLiteral("kdeconnect-indicator"),
......
......@@ -17,6 +17,8 @@
int main(int argc, char** argv)
{
QIcon::setFallbackThemeName(QStringLiteral("breeze"));
QApplication app(argc, argv);
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kdeconnect")));
KAboutData about(QStringLiteral("kdeconnect-settings"),
......
......@@ -26,6 +26,8 @@
int main(int argc, char *argv[])
{
QIcon::setFallbackThemeName(QStringLiteral("breeze"));
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication app(argc, argv);
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kdeconnect")));
......
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