forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.3'
Change-Id: I56004e3ec9dc9d92d33bdae438c4f7e069eccc45
This commit is contained in:
@@ -279,11 +279,20 @@ QString CMakeGeneratorKitConfigWidget::toolTip() const
|
||||
void CMakeGeneratorKitConfigWidget::changeGenerator()
|
||||
{
|
||||
QPointer<QDialog> changeDialog = new QDialog(m_changeButton);
|
||||
|
||||
// Disable help button in titlebar on windows:
|
||||
Qt::WindowFlags flags = changeDialog->windowFlags();
|
||||
flags &= ~Qt::WindowContextHelpButtonHint;
|
||||
flags |= Qt::MSWindowsFixedSizeDialogHint;
|
||||
changeDialog->setWindowFlags(flags);
|
||||
|
||||
changeDialog->setWindowTitle(tr("CMake Generator"));
|
||||
|
||||
auto *layout = new QGridLayout(changeDialog);
|
||||
layout->setSizeConstraint(QLayout::SetFixedSize);
|
||||
|
||||
auto *cmakeLabel = new QLabel;
|
||||
cmakeLabel->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
||||
|
||||
auto *generatorCombo = new QComboBox;
|
||||
auto *extraGeneratorCombo = new QComboBox;
|
||||
|
||||
Reference in New Issue
Block a user