From 327f536416eab48e47015b333babb368be94100d Mon Sep 17 00:00:00 2001 From: RickyRister Date: Sat, 28 Dec 2024 14:31:36 -0800 Subject: [PATCH] fix build failure --- cockatrice/src/dialogs/dlg_settings.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cockatrice/src/dialogs/dlg_settings.cpp b/cockatrice/src/dialogs/dlg_settings.cpp index 21ab17139..9b9794503 100644 --- a/cockatrice/src/dialogs/dlg_settings.cpp +++ b/cockatrice/src/dialogs/dlg_settings.cpp @@ -174,8 +174,7 @@ GeneralSettingsPage::GeneralSettingsPage() GeneralSettingsPage::retranslateUi(); // connect the ReleaseChannel combo box only after the entries are inserted in retranslateUi - connect(&updateReleaseChannelBox, &QComboBox::currentIndexChanged, &settings, - &SettingsCache::setUpdateReleaseChannel); + connect(&updateReleaseChannelBox, SIGNAL(currentIndexChanged(int)), &settings, SLOT(setUpdateReleaseChannel(int))); updateReleaseChannelBox.setCurrentIndex(settings.getUpdateReleaseChannel()->getIndex()); setLayout(mainLayout);