Fix reconfigure additional trackers

Replace wrong QList::empty() call with QList::clear()
This commit is contained in:
Vladimir Golovnev (Glassez) 2016-01-13 19:12:31 +03:00
parent 049e622e3c
commit cf25ed3d80

View file

@ -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();