Set breeze as fallback icon theme for all executables

(cherry picked from commit c9bdf625c0)
This commit is contained in:
Nicolas Fella 2021-07-27 23:03:51 +02:00
parent f2f4788c20
commit 7f87a4f197
4 changed files with 8 additions and 0 deletions

View file

@ -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"));

View file

@ -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"),

View file

@ -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"),

View file

@ -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")));