Browse Source
Merge pull request #9681 from Morph1984/nice-one-qt6
main: Only set AA_DisableWindowContextHelpButton below Qt6
pull/15/merge
Morph
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
src/yuzu/main.cpp
|
|
@ -4455,8 +4455,10 @@ int main(int argc, char* argv[]) { |
|
|
} |
|
|
} |
|
|
#endif
|
|
|
#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); |
|
|
QCoreApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton); |
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
// Enables the core to make the qt created contexts current on std::threads
|
|
|
// Enables the core to make the qt created contexts current on std::threads
|
|
|
QCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity); |
|
|
QCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity); |
|
|
|