Browse Source

Fix reconfigure additional trackers

Replace wrong QList::empty() call with QList::clear()
adaptive-webui-19844
Vladimir Golovnev (Glassez) 9 years ago
parent
commit
cf25ed3d80
  1. 2
      src/base/bittorrent/session.cpp

2
src/base/bittorrent/session.cpp

@ -576,7 +576,7 @@ void Session::configure() @@ -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…
Cancel
Save