diff options
Diffstat (limited to 'qt-models/models.cpp')
-rw-r--r-- | qt-models/models.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/qt-models/models.cpp b/qt-models/models.cpp index 5fa0c7c79..ee68be2ca 100644 --- a/qt-models/models.cpp +++ b/qt-models/models.cpp @@ -11,20 +11,6 @@ #include <QLocale> -// initialize the trash icon if necessary - -const QPixmap &trashIcon() -{ - static QPixmap trash = QPixmap(":list-remove-icon").scaledToHeight(defaultIconMetrics().sz_small); - return trash; -} - -const QPixmap &trashForbiddenIcon() -{ - static QPixmap trash = QPixmap(":list-remove-disabled-icon").scaledToHeight(defaultIconMetrics().sz_small); - return trash; -} - Qt::ItemFlags GasSelectionModel::flags(const QModelIndex&) const { return Qt::ItemIsEnabled | Qt::ItemIsSelectable; |