diff --git a/cockatrice/src/dialogs/dlg_get_card_prices.cpp b/cockatrice/src/dialogs/dlg_get_card_prices.cpp index 0fbc0a41f..866d80bfb 100644 --- a/cockatrice/src/dialogs/dlg_get_card_prices.cpp +++ b/cockatrice/src/dialogs/dlg_get_card_prices.cpp @@ -53,7 +53,8 @@ DlgGetCardPrices::DlgGetCardPrices(QWidget *parent, DeckListModel *_model) : QDi currencyComboBox->addItem("Euro (€)", QVariant(QString("eur"))); currencyComboBox->addItem("US Dollar ($)", QVariant(QString("usd"))); currencyComboBox->setCurrentIndex(0); - connect(currencyComboBox, &QComboBox::currentIndexChanged, this, &DlgGetCardPrices::onCurrencyChanged); + connect(currencyComboBox, qOverload(&QComboBox::currentIndexChanged), this, + &DlgGetCardPrices::onCurrencyChanged); tableWidget = new QTableWidget(this); tableWidget->setColumnCount(7); diff --git a/cockatrice/src/dialogs/dlg_get_card_prices.h b/cockatrice/src/dialogs/dlg_get_card_prices.h index 34eaa6692..50a594628 100644 --- a/cockatrice/src/dialogs/dlg_get_card_prices.h +++ b/cockatrice/src/dialogs/dlg_get_card_prices.h @@ -4,7 +4,7 @@ #include "../client/ui/widgets/general/layout_containers/flow_widget.h" #include "../deck/deck_list_model.h" -#include // Include for the checkbox +#include #include #include #include