summaryrefslogtreecommitdiffstats
path: root/InstanceDelegate.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-02-04 00:40:10 +0100
committerPetr Mrázek <peterix@gmail.com>2014-02-04 00:40:10 +0100
commit946d49675cb4725c31ab49a51f3bcae302f89a19 (patch)
tree8b1ffe190cbd75d2e8940b69d1413f755dfbea2e /InstanceDelegate.cpp
parentddedd077b66f2bf45cd157d760eebdad15bcb289 (diff)
downloadMultiMC-946d49675cb4725c31ab49a51f3bcae302f89a19.tar
MultiMC-946d49675cb4725c31ab49a51f3bcae302f89a19.tar.gz
MultiMC-946d49675cb4725c31ab49a51f3bcae302f89a19.tar.lz
MultiMC-946d49675cb4725c31ab49a51f3bcae302f89a19.tar.xz
MultiMC-946d49675cb4725c31ab49a51f3bcae302f89a19.zip
Swap things around -- rename refactors, moving towards non-derpy design. Maybe.
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();
}