fix build failure

This commit is contained in:
RickyRister 2024-12-28 14:31:36 -08:00
parent 54ab0ea4aa
commit 327f536416

View file

@ -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);