aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/namevaluesdialog.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-02-19 12:53:27 +0100
committerKai Koehne <kai.koehne@qt.io>2020-02-25 13:26:44 +0000
commitfda9955df077eaaa6f112cf9785442a3b4d9659d (patch)
tree743aaf5a96b1819d4bbe1a7a8b19605c81e353a1 /src/libs/utils/namevaluesdialog.cpp
parent44db8e2eabc065ac32a1f4e12a53a482fc0c8122 (diff)
Globally disable WindowContextHelpButtonHint
Do set the global application flag AA_DisableWindowContextHelpButton to avoid having to unset the default WindowContextHelpButtonHint in every single dialog. AA_DisableWindowContextHelpButton was added in Qt 5.10. Change-Id: I21fe8bc5ddfa4c01ec7a799b04bfb6ff1c9d6d86 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/libs/utils/namevaluesdialog.cpp')
-rw-r--r--src/libs/utils/namevaluesdialog.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libs/utils/namevaluesdialog.cpp b/src/libs/utils/namevaluesdialog.cpp
index 4f92a79680..2b78dc7661 100644
--- a/src/libs/utils/namevaluesdialog.cpp
+++ b/src/libs/utils/namevaluesdialog.cpp
@@ -89,7 +89,6 @@ void NameValueItemsWidget::setPlaceholderText(const QString &text)
NameValuesDialog::NameValuesDialog(const QString &windowTitle, const QString &helpText, QWidget *parent)
: QDialog(parent)
{
- setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
resize(640, 480);
m_editor = new Internal::NameValueItemsWidget(this);
auto box = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel,