Set breeze as icon fallback theme

This commit is contained in:
Bart De Vries 2024-04-22 09:52:20 +02:00
parent 2ba3ec98a6
commit acbf4c605f
No known key found for this signature in database
GPG Key ID: 7285665DA6E2D42B
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ int main(int argc, char *argv[])
QLoggingCategory::setFilterRules(QStringLiteral("org.kde.*=true"));
QQuickStyle::setStyle(QStringLiteral("org.kde.breeze"));
#else
QIcon::setFallbackThemeName(QStringLiteral("breeze"));
QApplication app(argc, argv);
if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE")) {
QQuickStyle::setStyle(QStringLiteral("org.kde.desktop"));