diff options
Diffstat (limited to 'gui/groupview/InstanceDelegate.cpp')
-rw-r--r-- | gui/groupview/InstanceDelegate.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/groupview/InstanceDelegate.cpp b/gui/groupview/InstanceDelegate.cpp index 7ca4d7b4..cd26ddaa 100644 --- a/gui/groupview/InstanceDelegate.cpp +++ b/gui/groupview/InstanceDelegate.cpp @@ -317,6 +317,7 @@ void ListViewDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opti line.draw(painter, position); } + // FIXME: this really has no business of being here. Make generic. auto instance = (BaseInstance*)index.data(InstanceList::InstancePointerRole) .value<void *>(); if (instance) |