aboutsummaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'main.h')
-rw-r--r--main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.h b/main.h
index a1e7f432..47377f7a 100644
--- a/main.h
+++ b/main.h
@@ -30,7 +30,7 @@ public
slots:
void timeout()
{
- foreach(QStandardItem * item, m_items)
+ for (auto item : m_items)
{
int value = item->data(CategorizedViewRoles::ProgressValueRole).toInt();
value += qrand() % 3;