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.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 0944fe3e3..23eea3e48 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -496,13 +496,6 @@ QVariant DiveTripModel::data(const QModelIndex &index, int role) const
break;
}
}
- if (role == DelegatesRole){
- switch(index.column()){
- case RATING:
- retVal = item->diveRating();
- break;
- }
- }
return retVal;
}