VERY experimental Nintendo Switch 2 emulator
C++
main: Only set AA_DisableWindowContextHelpButton below Qt6
Morph79d9982c66c8
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cppindex 3fba802afe..62aaf41bff 100644--- a/src/yuzu/main.cpp+++ b/src/yuzu/main.cpp@@ -4455,8 +4455,10 @@ int main(int argc, char* argv[]) {}#endif- // Disables the "?" button on all dialogs.+#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)+ // Disables the "?" button on all dialogs. Disabled by default on Qt6.QCoreApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton);+#endif// Enables the core to make the qt created contexts current on std::threadsQCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity);