]> git.sesse.net Git - kdenlive/blobdiff - src/databackup/backupwidget.cpp
Better to use ++i than i++ (minor optimization)
[kdenlive] / src / databackup / backupwidget.cpp
index 8ff35b07bc1032d90e643d2b3bd3538e73edea1f..d707ccca88a1592c52e069cb8528b9def26113a4 100644 (file)
@@ -81,7 +81,7 @@ void BackupWidget::slotParseBackupFiles()
     backup_list->clear();
     QListWidgetItem *item;
     QString label;
-    for (int i = 0; i < resultList.count(); i++) {
+    for (int i = 0; i < resultList.count(); ++i) {
         label = resultList.at(i).lastModified().toString(Qt::SystemLocaleLongDate);
         if (m_projectWildcard.startsWith('*')) {
             // Displaying all backup files, so add project name in the entries