Merge pull request #12000 from an0n666/legacy-default-no-random-port

Keep legacy default for random port
This commit is contained in:
Mike Tzou 2020-02-13 12:24:45 +08:00 committed by GitHub
commit 882978c80a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,8 @@ void handleChangedDefaults(const DefaultPreferencesMode mode)
};
const QVector<DefaultValue> changedDefaults {
{QLatin1String {"BitTorrent/Session/QueueingSystemEnabled"}, true, false}
{QLatin1String {"BitTorrent/Session/QueueingSystemEnabled"}, true, false},
{QLatin1String {"BitTorrent/Session/UseRandomPort"}, false, true}
};
SettingsStorage *settingsStorage {SettingsStorage::instance()};