summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r--qt-ui/models.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 0d3c903a7..045592deb 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -837,6 +837,7 @@ QVariant DiveItem::data(int column, int role) const
switch (column) {
case NR: retVal = dive->number; break;
case DATE: retVal = (qulonglong) dive->when; break;
+ case RATING: retVal = dive->rating; break;
case DEPTH: retVal = dive->maxdepth.mm; break;
case DURATION: retVal = dive->duration.seconds; break;
case TEMPERATURE: retVal = dive->watertemp.mkelvin; break;