diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-09-21 15:15:11 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-23 14:15:22 -0700 |
commit | 012e8ccb46321258343504ecbb3f7fcca8929c24 (patch) | |
tree | 8e59e8cdb2555682514876e1d20292146e39aa8c /qt-ui/locationinformation.cpp | |
parent | 8c9a4ecd4b06d62b8b2b6b5a36e025aa84521ec7 (diff) | |
download | subsurface-012e8ccb46321258343504ecbb3f7fcca8929c24.tar.gz |
Re-add the 'plus' button on the delegate
This was missing in the delegate - now it's prettier.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/locationinformation.cpp')
-rw-r--r-- | qt-ui/locationinformation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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"); } } |