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:
Tomaz Canabrava 2015-09-21 15:15:11 -03:00 committed by Dirk Hohndel
parent 8c9a4ecd4b
commit 012e8ccb46

View file

@ -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");
}
}