summaryrefslogtreecommitdiffstats
path: root/qt-models/cleanertablemodel.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-17 15:27:49 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-17 15:27:49 -0700
commit2d68214eac604c104226e2638161c0e4fd14fc79 (patch)
treeda091aca941be9cde9397d71cd8f3547f9c651db /qt-models/cleanertablemodel.h
parentd0145621a1d6a76922cc271208e07ed5827a6590 (diff)
downloadsubsurface-2d68214eac604c104226e2638161c0e4fd14fc79.tar.gz
Planner: show new icon to indicate that last point can't be deleted
Having the trash can disappear is somewhat intuitive, but I'd argue this is even more so. Fixes #789 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/cleanertablemodel.h')
-rw-r--r--qt-models/cleanertablemodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/cleanertablemodel.h b/qt-models/cleanertablemodel.h
index c47cf87f4..974d822e6 100644
--- a/qt-models/cleanertablemodel.h
+++ b/qt-models/cleanertablemodel.h
@@ -7,6 +7,7 @@
/* Retrieve the trash icon pixmap, common to most table models */
const QPixmap &trashIcon();
+const QPixmap &trashForbiddenIcon();
/* When using a QAbstractTableModel, consider using this instead
* of the default implementation, as it's easyer to setup the columns