1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-02 09:55:55 +00:00

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 { 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()}; SettingsStorage *settingsStorage {SettingsStorage::instance()};