Drop Qt5: Core: Get rid of QOverload

Change-Id: Ibaebd83304680156e13a9ebc473075ad2a4bfed4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Jarek Kobus
2022-07-19 22:37:03 +02:00
parent 74ea4dc07d
commit 0dae822ca3
21 changed files with 35 additions and 49 deletions

View File

@@ -99,8 +99,7 @@ SideBarWidget::SideBarWidget(SideBar *sideBar, const QString &id)
}
setCurrentItem(t);
connect(m_comboBox, QOverload<int>::of(&QComboBox::currentIndexChanged),
this, &SideBarWidget::setCurrentIndex);
connect(m_comboBox, &QComboBox::currentIndexChanged, this, &SideBarWidget::setCurrentIndex);
}
SideBarWidget::~SideBarWidget() = default;