Keep legacy default for random port

This commit is contained in:
an0n666
2020-02-12 12:28:13 +00:00
committed by sledgehammer999
parent 534549142e
commit d2834bd7fd

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()};