Drop Qt5: Various plugins: Get rid of QOverload

Change-Id: I4913044f8897fd3449dbb537e4af6785eb3ad447
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-07-19 23:43:58 +02:00
parent ae4db886f3
commit e32ebe2146
25 changed files with 44 additions and 66 deletions

View File

@@ -48,18 +48,12 @@ ToolKitAspectWidget::ToolKitAspectWidget(ProjectExplorer::Kit *kit,
m_toolsComboBox->setToolTip(ki->description());
loadTools();
connect(MesonTools::instance(),
&MesonTools::toolAdded,
this,
&ToolKitAspectWidget::addTool);
connect(MesonTools::instance(),
&MesonTools::toolRemoved,
this,
&ToolKitAspectWidget::removeTool);
connect(m_toolsComboBox,
QOverload<int>::of(&QComboBox::currentIndexChanged),
this,
&ToolKitAspectWidget::setCurrentToolIndex);
connect(MesonTools::instance(), &MesonTools::toolAdded,
this, &ToolKitAspectWidget::addTool);
connect(MesonTools::instance(), &MesonTools::toolRemoved,
this, &ToolKitAspectWidget::removeTool);
connect(m_toolsComboBox, &QComboBox::currentIndexChanged,
this, &ToolKitAspectWidget::setCurrentToolIndex);
}
ToolKitAspectWidget::~ToolKitAspectWidget()