mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
help question mark in dialogs disabled by default in Qt6
This commit is contained in:
parent
90293ebcda
commit
2919a20384
@ -28,7 +28,7 @@ int main(int argc, char *argv[])
|
|||||||
/* Suppresses "Qt WebEngine seems to be initialized from a plugin" warning */
|
/* Suppresses "Qt WebEngine seems to be initialized from a plugin" warning */
|
||||||
QApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
|
QApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
|
||||||
#endif
|
#endif
|
||||||
#if defined(_WIN32) && QT_VERSION >= 0x50A01
|
#if defined(_WIN32) && QT_VERSION >= 0x50A01 && QT_VERSION < 0x60000
|
||||||
/* Suppresses help question mark in dialogs */
|
/* Suppresses help question mark in dialogs */
|
||||||
QApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton);
|
QApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user