summaryrefslogtreecommitdiffstats
path: root/InstanceDelegate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'InstanceDelegate.cpp')
-rw-r--r--InstanceDelegate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/InstanceDelegate.cpp b/InstanceDelegate.cpp
index 944cfd76..8527e2bc 100644
--- a/InstanceDelegate.cpp
+++ b/InstanceDelegate.cpp
@@ -253,8 +253,8 @@ void ListViewDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opti
}
drawProgressOverlay(painter, opt,
- index.data(CategorizedViewRoles::ProgressValueRole).toInt(),
- index.data(CategorizedViewRoles::ProgressMaximumRole).toInt());
+ index.data(GroupViewRoles::ProgressValueRole).toInt(),
+ index.data(GroupViewRoles::ProgressMaximumRole).toInt());
painter->restore();
}