Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

[desktop] windows: explicitly set Vista style (#153)

crueter06f8823882e8
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 52e7500cd3..9b35069307 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -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