Fixed loading the stars when opening with file as argv. minor cleanup

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-04-28 08:45:22 -03:00
parent 2f4d6bbe53
commit 0be521bb25
5 changed files with 4 additions and 10 deletions

View file

@ -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;
}