Commit 423cc560 authored by Heiko Becker's avatar Heiko Becker 🏃
Browse files

Fix build with Qt >= 5.15.0-beta3

46ebd11e6 in qtbase removed the (int, QString) overload again and
un-deprecated the int overload.
parent c63730f9
...@@ -117,11 +117,7 @@ SearchWidget::SearchWidget(QWidget *parent) ...@@ -117,11 +117,7 @@ SearchWidget::SearchWidget(QWidget *parent)
connect(button, &QPushButton::clicked, this, &SearchWidget::search); connect(button, &QPushButton::clicked, this, &SearchWidget::search);
connect(mDatabaseView, &QListView::activated, this, &SearchWidget::fetchItem); connect(mDatabaseView, &QListView::activated, this, &SearchWidget::fetchItem);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect(mStoreCombo, QOverload<int>::of(&KComboBox::currentIndexChanged), this, &SearchWidget::openStore); connect(mStoreCombo, QOverload<int>::of(&KComboBox::currentIndexChanged), this, &SearchWidget::openStore);
#else
connect(mStoreCombo, QOverload<int, const QString &>::of(&KComboBox::currentIndexChanged), this, &SearchWidget::openStore);
#endif
openStore(0); openStore(0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment