diff options
-rw-r--r-- | src/plugins/coreplugin/basefilewizard.cpp | 1 | ||||
-rw-r--r-- | src/plugins/coreplugin/dialogs/newdialog.cpp | 2 | ||||
-rw-r--r-- | src/plugins/coreplugin/dialogs/openwithdialog.cpp | 1 | ||||
-rw-r--r-- | src/plugins/coreplugin/dialogs/saveitemsdialog.cpp | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/basefilewizard.cpp b/src/plugins/coreplugin/basefilewizard.cpp index 521b359ba9..741e3e2650 100644 --- a/src/plugins/coreplugin/basefilewizard.cpp +++ b/src/plugins/coreplugin/basefilewizard.cpp @@ -677,6 +677,7 @@ void BaseFileWizard::setupWizard(QWizard *w) w->setOption(QWizard::NoCancelButton, false); w->setOption(QWizard::NoDefaultButton, false); w->setOption(QWizard::NoBackButtonOnStartPage, true); + w->setWindowFlags(w->windowFlags() & ~Qt::WindowContextHelpButtonHint); } /*! diff --git a/src/plugins/coreplugin/dialogs/newdialog.cpp b/src/plugins/coreplugin/dialogs/newdialog.cpp index da4c7f0b06..d939060bb0 100644 --- a/src/plugins/coreplugin/dialogs/newdialog.cpp +++ b/src/plugins/coreplugin/dialogs/newdialog.cpp @@ -158,6 +158,8 @@ NewDialog::NewDialog(QWidget *parent) : m_okButton(0) { typedef QMap<QString, QStandardItem *> CategoryItemMap; + + setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); m_ui->setupUi(this); m_okButton = m_ui->buttonBox->button(QDialogButtonBox::Ok); m_okButton->setDefault(true); diff --git a/src/plugins/coreplugin/dialogs/openwithdialog.cpp b/src/plugins/coreplugin/dialogs/openwithdialog.cpp index 437663c048..33b5bcc942 100644 --- a/src/plugins/coreplugin/dialogs/openwithdialog.cpp +++ b/src/plugins/coreplugin/dialogs/openwithdialog.cpp @@ -43,6 +43,7 @@ OpenWithDialog::OpenWithDialog(const QString &fileName, QWidget *parent) : QDialog(parent) { setupUi(this); + setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); label->setText(tr("Open file '%1' with:").arg(QFileInfo(fileName).fileName())); buttonBox->button(QDialogButtonBox::Ok)->setDefault(true); diff --git a/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp b/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp index ff6dad8986..292faf5df7 100644 --- a/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp +++ b/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp @@ -53,6 +53,7 @@ SaveItemsDialog::SaveItemsDialog(QWidget *parent, : QDialog(parent) { m_ui.setupUi(this); + setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); QPushButton *discardButton = m_ui.buttonBox->addButton(tr("Do not Save"), QDialogButtonBox::DestructiveRole); m_ui.buttonBox->button(QDialogButtonBox::Save)->setDefault(true); m_ui.buttonBox->button(QDialogButtonBox::Save)->setFocus(Qt::TabFocusReason); |