Commit ec301566 authored by Christian Stenger's avatar Christian Stenger

CMakePM: Fix compile for Qt5.6

Change-Id: I5febf1af38062b2d5e5c59e984ae97e6fb1168f5
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
parent 82116484
......@@ -282,8 +282,8 @@ void CMakeGeneratorKitConfigWidget::changeGenerator()
// Disable help button in titlebar on windows:
Qt::WindowFlags flags = changeDialog->windowFlags();
flags.setFlag(Qt::WindowContextHelpButtonHint, false);
flags.setFlag(Qt::MSWindowsFixedSizeDialogHint, true);
flags &= ~Qt::WindowContextHelpButtonHint;
flags |= Qt::MSWindowsFixedSizeDialogHint;
changeDialog->setWindowFlags(flags);
changeDialog->setWindowTitle(tr("CMake Generator"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment