diff --git a/cockatrice/src/client/tabs/tab_deck_editor.cpp b/cockatrice/src/client/tabs/tab_deck_editor.cpp index 5cbab1eb2..9d3adb061 100644 --- a/cockatrice/src/client/tabs/tab_deck_editor.cpp +++ b/cockatrice/src/client/tabs/tab_deck_editor.cpp @@ -103,7 +103,8 @@ void TabDeckEditor::createDeckDock() // Delay the update to avoid race conditions QTimer::singleShot(100, this, &TabDeckEditor::updateBannerCardComboBox); }); - connect(bannerCardComboBox, &QComboBox::currentIndexChanged, this, &TabDeckEditor::setBannerCard); + connect(bannerCardComboBox, QOverload::of(&QComboBox::currentIndexChanged), this, + &TabDeckEditor::setBannerCard); aIncrement = new QAction(QString(), this); aIncrement->setIcon(QPixmap("theme:icons/increment"));