summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2018-12-18 09:02:20 +0100
committerKai Koehne <kai.koehne@qt.io>2018-12-18 14:22:39 +0000
commit4e823c69ec36b648d6126ae5ec031f58d1372ab4 (patch)
tree0bef065a487e0fdaebfa1de38cac5db82d66dc03 /src
parente4ab3c1687e7e319813a916adb784b307e5f2113 (diff)
downloadqttools-4e823c69ec36b648d6126ae5ec031f58d1372ab4.tar.gz
Assistant: Hide Windows Context Help Button
Do not show the "?" window button "in Preferences", "Print Preview", "Add Bookmarp dialogs". Assistant does not set any "what's this" information anywhere, so the mode is useless. Change-Id: I857159eb313315d197fb2e3bff058fca5d805d64 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/assistant/assistant/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/assistant/assistant/main.cpp b/src/assistant/assistant/main.cpp
index 04f0fc968..ac20872bd 100644
--- a/src/assistant/assistant/main.cpp
+++ b/src/assistant/assistant/main.cpp
@@ -268,6 +268,7 @@ void setupTranslations()
int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+ QCoreApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton);
TRACE_OBJ
QScopedPointer<QCoreApplication> a(createApplication(argc, argv));
#if QT_CONFIG(library)