forked from qt-creator/qt-creator
ProjectExplorer: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: I619db09a79760186b72e7662490ed1205155c1a7 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
db8b9f9463
commit
15f8bb07ed
@@ -55,7 +55,7 @@ CodeStyleSettingsWidget::CodeStyleSettingsWidget(Project *project) : QWidget(),
|
||||
m_ui.languageComboBox->addItem(factory->displayName());
|
||||
}
|
||||
|
||||
connect(m_ui.languageComboBox, SIGNAL(currentIndexChanged(int)),
|
||||
m_ui.stackedWidget, SLOT(setCurrentIndex(int)));
|
||||
connect(m_ui.languageComboBox, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged),
|
||||
m_ui.stackedWidget, &QStackedWidget::setCurrentIndex);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user