forked from qt-creator/qt-creator
QtSupport: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: I24cb0cd088b74364320cdd34282d7b15305a93bf Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
9a637ba3e3
commit
c64f85cd5a
@@ -42,8 +42,8 @@ CodeGenSettingsPageWidget::CodeGenSettingsPageWidget(QWidget *parent) :
|
||||
QWidget(parent)
|
||||
{
|
||||
m_ui.setupUi(this);
|
||||
connect(m_ui.includeQtModuleCheckBox, SIGNAL(toggled(bool)),
|
||||
m_ui.addQtVersionCheckBox, SLOT(setEnabled(bool)));
|
||||
connect(m_ui.includeQtModuleCheckBox, &QAbstractButton::toggled,
|
||||
m_ui.addQtVersionCheckBox, &QWidget::setEnabled);
|
||||
}
|
||||
|
||||
CodeGenSettings CodeGenSettingsPageWidget::parameters() const
|
||||
|
||||
Reference in New Issue
Block a user