From 0be521bb25cf6210ad47e42eb7a8eb7638c32442 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sun, 28 Apr 2013 08:45:22 -0300 Subject: Fixed loading the stars when opening with file as argv. minor cleanup Signed-off-by: Tomaz Canabrava --- qt-ui/divelistview.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/divelistview.cpp') diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp index e8a3d2311..fb19a7060 100644 --- a/qt-ui/divelistview.cpp +++ b/qt-ui/divelistview.cpp @@ -11,4 +11,5 @@ DiveListView::DiveListView(QWidget *parent) : QTreeView(parent) { setUniformRowHeights(true); + setItemDelegateForColumn(DiveTripModel::RATING, new StarWidgetsDelegate()); } -- cgit v1.2.3-70-g09d2