mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-25 07:35:24 -07:00
Fix reconfigure additional trackers
Replace wrong QList::empty() call with QList::clear()
This commit is contained in:
parent
48175bbb85
commit
5dc9b5c2dd
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…
Add table
Add a link
Reference in a new issue