From 6a59f0fe4dcd26635b18fa4d784bf3a372d5ceb1 Mon Sep 17 00:00:00 2001 From: Jimi Huotari Date: Fri, 3 Apr 2020 00:36:07 +0300 Subject: [PATCH] refactor(Qt): fix build with Qt 5.15 again A deprecated function was previously replaced with an overload that also got recently deprecated [1]. 1. https://code.qt.io/cgit/qt/qtbase.git/commit/?h=5.15&id=46ebd11e --- src/widget/form/searchsettingsform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/form/searchsettingsform.cpp b/src/widget/form/searchsettingsform.cpp index 59003998b..0859abd2d 100644 --- a/src/widget/form/searchsettingsform.cpp +++ b/src/widget/form/searchsettingsform.cpp @@ -38,7 +38,7 @@ SearchSettingsForm::SearchSettingsForm(QWidget *parent) : reloadTheme(); #if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)) - connect(ui->startSearchComboBox, QOverload::of(&QComboBox::currentIndexChanged), + connect(ui->startSearchComboBox, QOverload::of(&QComboBox::currentIndexChanged), #else connect(ui->startSearchComboBox, static_cast(&QComboBox::currentIndexChanged), #endif