mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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>
This commit is contained in:
parent
8c9a4ecd4b
commit
012e8ccb46
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue