mirror of
https://github.com/redstrate/Astra.git
synced 2025-05-18 07:07:45 +00:00
Don't force qqc2-desktop-style on Windows for now
This commit is contained in:
parent
f6802c59fb
commit
fc8edcd810
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE")) {
|
||||
if (isSteamDeck) {
|
||||
|
@ -137,6 +138,7 @@ int main(int argc, char *argv[])
|
|||
QQuickStyle::setStyle(QStringLiteral("org.kde.desktop"));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
QCoro::Qml::registerTypes();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue