From 41d85859324e29a9320f7397042f9fd416c154f0 Mon Sep 17 00:00:00 2001 From: an0n666 <47396879+an0n666@users.noreply.github.com> Date: Wed, 12 Feb 2020 12:28:13 +0000 Subject: [PATCH] Keep legacy default for random port --- src/app/upgrade.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/upgrade.cpp b/src/app/upgrade.cpp index e0a1060cc..9d6fb1247 100644 --- a/src/app/upgrade.cpp +++ b/src/app/upgrade.cpp @@ -93,7 +93,8 @@ void handleChangedDefaults(const DefaultPreferencesMode mode) }; const QVector changedDefaults { - {QLatin1String {"BitTorrent/Session/QueueingSystemEnabled"}, true, false} + {QLatin1String {"BitTorrent/Session/QueueingSystemEnabled"}, true, false}, + {QLatin1String {"BitTorrent/Session/UseRandomPort"}, false, true} }; SettingsStorage *settingsStorage {SettingsStorage::instance()};