diff options
Diffstat (limited to 'qt-ui/modeldelegates.cpp')
-rw-r--r-- | qt-ui/modeldelegates.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/modeldelegates.cpp b/qt-ui/modeldelegates.cpp index 01f5197ce..3aeaa02b5 100644 --- a/qt-ui/modeldelegates.cpp +++ b/qt-ui/modeldelegates.cpp @@ -26,7 +26,7 @@ void StarWidgetsDelegate::paint(QPainter* painter, const QStyleOptionViewItem& o if (!index.isValid()) return; - QVariant value = index.model()->data(index, TreeItemDT::STAR_ROLE); + QVariant value = index.model()->data(index, DiveTripModel::STAR_ROLE); if (!value.isValid()) return; |