From 3fc20e985e2782e9e60c816581f28639d519869f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Sun, 22 Dec 2024 16:33:54 +0100 Subject: [PATCH] Fix build issue with overload? --- cockatrice/src/client/tabs/tab_deck_editor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"));