mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
Use preincrement for iterators instead of postincrement
This commit is contained in:
committed by
Christophe Dumez
parent
5874c7bd57
commit
abf8c179fc
@@ -67,7 +67,7 @@ public:
|
||||
QStringList pieces_priority;
|
||||
while(pp_it != pp.end()) {
|
||||
pieces_priority << QString::number(*pp_it);
|
||||
pp_it++;
|
||||
++pp_it;
|
||||
}
|
||||
data["files_priority"] = pieces_priority;
|
||||
all_data[hash] = data;
|
||||
|
||||
Reference in New Issue
Block a user