diff options
Diffstat (limited to 'qt-models/models.cpp')
-rw-r--r-- | qt-models/models.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-models/models.cpp b/qt-models/models.cpp index fa046ff3f..6f6b501de 100644 --- a/qt-models/models.cpp +++ b/qt-models/models.cpp @@ -18,6 +18,11 @@ const QPixmap &trashIcon() return trash; } +const QPixmap &trashForbiddenIcon() +{ + static QPixmap trash = QPixmap(":trashForbidden").scaledToHeight(defaultIconMetrics().sz_small); + return trash; +} Qt::ItemFlags GasSelectionModel::flags(const QModelIndex &index) const { |