mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-06 23:52:31 -06:00
Use preincrement for iterators instead of postincrement
This commit is contained in:
committed by
Christophe Dumez
parent
5874c7bd57
commit
abf8c179fc
@@ -90,7 +90,7 @@ public slots:
|
||||
std::vector<libtorrent::announce_entry>::iterator itr = tor_trackers.begin();
|
||||
while(itr != tor_trackers.end()) {
|
||||
existingTrackers << QUrl(misc::toQString(itr->url));
|
||||
itr++;
|
||||
++itr;
|
||||
}
|
||||
// Load from current user list
|
||||
QStringList tmp = trackers_list->toPlainText().split("\n");
|
||||
|
||||
Reference in New Issue
Block a user