Revert using random port by default

Revert change introduced in https://github.com/qbittorrent/qBittorrent/pull/11637 and also revert the associated follow-up https://github.com/qbittorrent/qBittorrent/pull/12000.

Reason: https://github.com/arvidn/libtorrent/pull/4335
This commit is contained in:
FranciscoPombal
2020-02-21 13:25:19 +00:00
parent 06ceac4cda
commit dc6a56afcb
2 changed files with 2 additions and 3 deletions

View File

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