mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-30 07:55:56 +03:00
Fix reconfigure additional trackers
Replace wrong QList::empty() call with QList::clear()
This commit is contained in:
parent
049e622e3c
commit
cf25ed3d80
1 changed files with 1 additions and 1 deletions
|
@ -576,7 +576,7 @@ void Session::configure()
|
|||
m_nativeSession->set_pe_settings(encryptionSettings);
|
||||
|
||||
// * Add trackers
|
||||
m_additionalTrackers.empty();
|
||||
m_additionalTrackers.clear();
|
||||
if (pref->isAddTrackersEnabled()) {
|
||||
foreach (QString tracker, pref->getTrackersList().split("\n")) {
|
||||
tracker = tracker.trimmed();
|
||||
|
|
Loading…
Reference in a new issue