Remove use of obsolete method
Fixes Qt 6 build Signed-off-by: Kenneth Chew <kenneth.c0@protonmail.com>
This commit is contained in:
parent
03429db528
commit
eae8a2914e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user