From 2cb4409a6cc58a169d5cf29b1893e9bd32173411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Sun, 22 Dec 2024 16:36:03 +0100 Subject: [PATCH] Fix build issue with overload? --- cockatrice/src/client/tabs/tab_deck_editor.cpp | 2 +- cockatrice/src/client/tabs/tab_deck_editor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cockatrice/src/client/tabs/tab_deck_editor.cpp b/cockatrice/src/client/tabs/tab_deck_editor.cpp index 9d3adb061..266bdcbff 100644 --- a/cockatrice/src/client/tabs/tab_deck_editor.cpp +++ b/cockatrice/src/client/tabs/tab_deck_editor.cpp @@ -864,7 +864,7 @@ void TabDeckEditor::updateBannerCardComboBox() bannerCardComboBox->blockSignals(wasBlocked); } -void TabDeckEditor::setBannerCard() +void TabDeckEditor::setBannerCard(int /* changedIndex */) { qDebug() << "Banner card was set to: " << bannerCardComboBox->currentText(); deckModel->getDeckList()->setBannerCard(bannerCardComboBox->currentText()); diff --git a/cockatrice/src/client/tabs/tab_deck_editor.h b/cockatrice/src/client/tabs/tab_deck_editor.h index 7352c57cc..e5d8c291c 100644 --- a/cockatrice/src/client/tabs/tab_deck_editor.h +++ b/cockatrice/src/client/tabs/tab_deck_editor.h @@ -37,7 +37,7 @@ private slots: void updateName(const QString &name); void updateComments(); void updateBannerCardComboBox(); - void setBannerCard(); + void setBannerCard(int); void updateHash(); void updateCardInfoLeft(const QModelIndex ¤t, const QModelIndex &previous); void updateCardInfoRight(const QModelIndex ¤t, const QModelIndex &previous);