diff --git a/application/pages/modplatform/flame/FlamePage.cpp b/application/pages/modplatform/flame/FlamePage.cpp index 2b7d9004..1fadc501 100644 --- a/application/pages/modplatform/flame/FlamePage.cpp +++ b/application/pages/modplatform/flame/FlamePage.cpp @@ -25,7 +25,7 @@ FlamePage::FlamePage(NewInstanceDialog* dialog, QWidget *parent) ui->sortByBox->addItem(tr("Sort by author")); ui->sortByBox->addItem(tr("Sort by total downloads")); - connect(ui->sortByBox, QOverload::of(&QComboBox::currentIndexChanged), this, &FlamePage::triggerSearch); + connect(ui->sortByBox, SIGNAL(currentIndexChanged(int)), this, SLOT(triggerSearch())); connect(ui->packView->selectionModel(), &QItemSelectionModel::currentChanged, this, &FlamePage::onSelectionChanged); connect(ui->versionSelectionBox, &QComboBox::currentTextChanged, this, &FlamePage::onVersionSelectionChanged); } @@ -173,4 +173,4 @@ void FlamePage::onVersionSelectionChanged(QString data) } selectedVersion = ui->versionSelectionBox->currentData().toString(); suggestCurrent(); -} \ No newline at end of file +}