[desktop] windows: explicitly set Vista style #153

Merged
crueter merged 3 commits from fix/windows-11 into master 2025-07-30 21:00:55 +02:00

View file

@ -5676,6 +5676,10 @@ int main(int argc, char* argv[]) {
// Enables the core to make the qt created contexts current on std::threads
QCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity);
#ifdef _WIN32
QApplication::setStyle(QStringLiteral("windowsvista"));
#endif
QApplication app(argc, argv);
#ifdef _WIN32