From 37a48fa5f8a1604a8584b86d8b032d20e503e84f Mon Sep 17 00:00:00 2001 From: crueter Date: Tue, 29 Jul 2025 23:59:44 -0400 Subject: [PATCH 1/2] [desktop] windows: explicitly set Vista style Signed-off-by: crueter --- src/yuzu/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 52e7500cd3..1e59862380 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("Vista"); +#endif + QApplication app(argc, argv); #ifdef _WIN32 From fe155d614224ccc363efeac4f6a24c22d6534773 Mon Sep 17 00:00:00 2001 From: crueter Date: Wed, 30 Jul 2025 00:10:05 -0400 Subject: [PATCH 2/2] who enforced this Signed-off-by: crueter --- src/yuzu/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 1e59862380..eab3016b22 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -5677,7 +5677,7 @@ int main(int argc, char* argv[]) { QCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity); #ifdef _WIN32 - QApplication::setStyle("Vista"); + QApplication::setStyle(QStringLiteral("Vista")); #endif QApplication app(argc, argv);