Set breeze as fallback icon theme for all executables

This commit is contained in:
Nicolas Fella 2021-07-27 23:03:51 +02:00
parent e641aa5596
commit c9bdf625c0
4 changed files with 8 additions and 0 deletions

View file

@ -20,6 +20,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")));