1
0
mirror of https://github.com/woo-j/zint.git synced 2024-12-23 01:33:55 +03:00

help question mark in dialogs disabled by default in Qt6

This commit is contained in:
Sanych.by 2023-03-30 11:51:31 +03:00
parent 90293ebcda
commit 2919a20384

View File

@ -28,7 +28,7 @@ int main(int argc, char *argv[])
/* Suppresses "Qt WebEngine seems to be initialized from a plugin" warning */
QApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
#endif
#if defined(_WIN32) && QT_VERSION >= 0x50A01
#if defined(_WIN32) && QT_VERSION >= 0x50A01 && QT_VERSION < 0x60000
/* Suppresses help question mark in dialogs */
QApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton);
#endif