Use preincrement for iterators instead of postincrement

This commit is contained in:
Константин Гончарик
2012-07-13 21:48:19 +03:00
committed by Christophe Dumez
parent 5874c7bd57
commit abf8c179fc
9 changed files with 28 additions and 28 deletions

View File

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