summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-28 13:10:20 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-28 13:10:20 -0700
commit0794f03b5e9dd1ba55e16b10b11cd6d61530b5b8 (patch)
tree28a712ce3b167887ed3f035b2d4a66b130bcb425 /qt-ui/models.cpp
parent4c665be05f7128a5a259fb3b71f3d65019639b1d (diff)
parent0be521bb25cf6210ad47e42eb7a8eb7638c32442 (diff)
downloadsubsurface-0794f03b5e9dd1ba55e16b10b11cd6d61530b5b8.tar.gz
Merge branch 'RenderStarsOnTable' of https://github.com/tcanabrava/subsurface into Qt
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;
}