Remove use of obsolete method

Fixes Qt 6 build

Signed-off-by: Kenneth Chew <kenneth.c0@protonmail.com>
This commit is contained in:
Kenneth Chew committed 2022-07-10 19:09:58 -04:00
1 parent 03429db528
commit eae8a2914e
1 file changed
+1 -1
+1 -1
View File
@@ -217,6 +217,6 @@ void MacSparkleUpdater::setBetaAllowed(bool allowed)
void MacSparkleUpdater::loadChannelsFromSettings()
{
QStringList channelList = APPLICATION->settings()->get("UpdateChannel").toString().split(" ");
auto channels = QSet<QString>::fromList(channelList);
QSet<QString> channels(channelList.begin(), channelList.end());
setAllowedChannels(channels);
}