mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
2f4d6bbe53
commit
0be521bb25
5 changed files with 4 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue