1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-18 15:17:46 +00:00

Don't force qqc2-desktop-style on Windows for now

This commit is contained in:
Joshua Goins 2024-04-26 14:40:08 -04:00
parent f6802c59fb
commit fc8edcd810

View file

@ -129,6 +129,7 @@ int main(int argc, char *argv[])
} }
} }
#if defined(Q_OS_LINUX)
// Default to org.kde.desktop style unless the user forces another style // Default to org.kde.desktop style unless the user forces another style
if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE")) { if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE")) {
if (isSteamDeck) { if (isSteamDeck) {
@ -137,6 +138,7 @@ int main(int argc, char *argv[])
QQuickStyle::setStyle(QStringLiteral("org.kde.desktop")); QQuickStyle::setStyle(QStringLiteral("org.kde.desktop"));
} }
} }
#endif
QCoro::Qml::registerTypes(); QCoro::Qml::registerTypes();