From eae8a2914e99f6e9a6db042a0bc0f984fd890227 Mon Sep 17 00:00:00 2001 From: Kenneth Chew Date: Sun, 10 Jul 2022 19:07:16 -0400 Subject: [PATCH] Remove use of obsolete method Fixes Qt 6 build Signed-off-by: Kenneth Chew --- launcher/updater/MacSparkleUpdater.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/updater/MacSparkleUpdater.mm b/launcher/updater/MacSparkleUpdater.mm index 63f5469b..ca6da55a 100644 --- a/launcher/updater/MacSparkleUpdater.mm +++ b/launcher/updater/MacSparkleUpdater.mm @@ -217,6 +217,6 @@ void MacSparkleUpdater::setBetaAllowed(bool allowed) void MacSparkleUpdater::loadChannelsFromSettings() { QStringList channelList = APPLICATION->settings()->get("UpdateChannel").toString().split(" "); - auto channels = QSet::fromList(channelList); + QSet channels(channelList.begin(), channelList.end()); setAllowedChannels(channels); }