summaryrefslogtreecommitdiffstats
path: root/gui/groupview
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-09-06 21:01:23 +0200
committerPetr Mrázek <peterix@gmail.com>2014-09-06 21:01:23 +0200
commitb00e63dbe8d0acaae503e63d614ee20b9e9ede2e (patch)
treeadc9a8442d20fe717879224036ee0b768dfa392d /gui/groupview
parent20cb97a35af5097e9d3b2062c0dfcb5f2e5fff5c (diff)
downloadMultiMC-b00e63dbe8d0acaae503e63d614ee20b9e9ede2e.tar
MultiMC-b00e63dbe8d0acaae503e63d614ee20b9e9ede2e.tar.gz
MultiMC-b00e63dbe8d0acaae503e63d614ee20b9e9ede2e.tar.lz
MultiMC-b00e63dbe8d0acaae503e63d614ee20b9e9ede2e.tar.xz
MultiMC-b00e63dbe8d0acaae503e63d614ee20b9e9ede2e.zip
More sync from quickmods
Also a small VersionSelectDialog refactor
Diffstat (limited to 'gui/groupview')
-rw-r--r--gui/groupview/InstanceDelegate.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/groupview/InstanceDelegate.cpp b/gui/groupview/InstanceDelegate.cpp
index e49e1552..a8e5ee83 100644
--- a/gui/groupview/InstanceDelegate.cpp
+++ b/gui/groupview/InstanceDelegate.cpp
@@ -118,6 +118,10 @@ void drawBadges(QPainter *painter, const QStyleOptionViewItemV4 &option, BaseIns
{
pixmaps.append("broken");
}
+ if (flags & BaseInstance::UpdateAvailable)
+ {
+ pixmaps.append("updateavailable");
+ }
// begin easter eggs
if (instance->name().contains("btw", Qt::CaseInsensitive) ||