diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-04-28 08:45:22 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-04-28 08:45:22 -0300 |
commit | 0be521bb25cf6210ad47e42eb7a8eb7638c32442 (patch) | |
tree | e80f0700fe80ca9a669e6a2abf92f72501d2417b /qt-ui/models.cpp | |
parent | 2f4d6bbe535a195046b4746fd3a771087ee4a6c4 (diff) | |
download | subsurface-0be521bb25cf6210ad47e42eb7a8eb7638c32442.tar.gz |
Fixed loading the stars when opening with file as argv. minor cleanup
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r-- | qt-ui/models.cpp | 7 |
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; } |