mirror of https://github.com/KDE/kasts.git
Set breeze as icon fallback theme
This commit is contained in:
parent
2ba3ec98a6
commit
acbf4c605f
|
@ -63,6 +63,7 @@ int main(int argc, char *argv[])
|
||||||
QLoggingCategory::setFilterRules(QStringLiteral("org.kde.*=true"));
|
QLoggingCategory::setFilterRules(QStringLiteral("org.kde.*=true"));
|
||||||
QQuickStyle::setStyle(QStringLiteral("org.kde.breeze"));
|
QQuickStyle::setStyle(QStringLiteral("org.kde.breeze"));
|
||||||
#else
|
#else
|
||||||
|
QIcon::setFallbackThemeName(QStringLiteral("breeze"));
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE")) {
|
if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE")) {
|
||||||
QQuickStyle::setStyle(QStringLiteral("org.kde.desktop"));
|
QQuickStyle::setStyle(QStringLiteral("org.kde.desktop"));
|
||||||
|
|
Loading…
Reference in New Issue