1
0
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:
sudden6 2020-04-04 00:53:38 +02:00
commit bd35cdde00
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -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