diff options
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/weightmodel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-models/weightmodel.cpp b/qt-models/weightmodel.cpp index 715af1571..3b5a122bf 100644 --- a/qt-models/weightmodel.cpp +++ b/qt-models/weightmodel.cpp @@ -63,12 +63,15 @@ QVariant WeightModel::data(const QModelIndex &index, int role) const case Qt::DecorationRole: if (index.column() == REMOVE) return trashIcon(); + break; case Qt::SizeHintRole: if (index.column() == REMOVE) return trashIcon().size(); + break; case Qt::ToolTipRole: if (index.column() == REMOVE) return tr("Clicking here will remove this weight system."); + break; } return QVariant(); } |