Fix issues with new updater; fix #2465 (#2468)

* fix #2465
This commit is contained in:
ctrlaltca 2017-03-13 23:21:15 +01:00 committed by GitHub
parent f9a025081a
commit 2817f54c96
3 changed files with 12 additions and 5 deletions

View file

@ -166,8 +166,9 @@ SettingsCache::SettingsCache()
translateLegacySettings();
// updates - don't reorder them or their index in the settings won't match
releaseChannels << new StableReleaseChannel()
<< new DevReleaseChannel();
// append channels one by one, or msvc will add them in the wrong order.
releaseChannels << new StableReleaseChannel();
releaseChannels << new DevReleaseChannel();
notifyAboutUpdates = settings->value("personal/updatenotification", true).toBool();
updateReleaseChannel = settings->value("personal/updatereleasechannel", 0).toInt();