From 012e8ccb46321258343504ecbb3f7fcca8929c24 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 21 Sep 2015 15:15:11 -0300 Subject: Re-add the 'plus' button on the delegate This was missing in the delegate - now it's prettier. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/locationinformation.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/locationinformation.cpp') diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index b8d66d56e..087e31fc9 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -358,6 +358,7 @@ QVariant DiveLocationModel::data(const QModelIndex& index, int role) const switch(role) { case Qt::DisplayRole : return new_ds_value[index.row()]; case Qt::ToolTipRole : return "Create a new dive site"; + case Qt::DecorationRole : return QIcon(":plus"); } } -- cgit v1.2.3-70-g09d2