mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #6062
Jimi Huotari (1): refactor(Qt): fix build with Qt 5.15 again
This commit is contained in:
commit
bd35cdde00
|
@ -38,7 +38,7 @@ SearchSettingsForm::SearchSettingsForm(QWidget *parent) :
|
||||||
reloadTheme();
|
reloadTheme();
|
||||||
|
|
||||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
|
||||||
connect(ui->startSearchComboBox, QOverload<int, const QString &>::of(&QComboBox::currentIndexChanged),
|
connect(ui->startSearchComboBox, QOverload<int>::of(&QComboBox::currentIndexChanged),
|
||||||
#else
|
#else
|
||||||
connect(ui->startSearchComboBox, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),
|
connect(ui->startSearchComboBox, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user