summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-03-22 15:13:58 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-23 17:24:40 -0700
commit8bc2ad14737eeb55368d19ab4d0b9735b7d35139 (patch)
tree1f5ec36e330c13af44d229a63c4a878d86d5eed5 /qt-ui/models.h
parentd4a1932276872954364a33d7f2b3ad0b16a1f38b (diff)
downloadsubsurface-8bc2ad14737eeb55368d19ab4d0b9735b7d35139.tar.gz
Enable parts of planner based on define
In bf205726 DEPTH/Switch at was disabled by commenting out that code. This puts it back behind ifdefs Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.h')
-rw-r--r--qt-ui/models.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/models.h b/qt-ui/models.h
index 9a198f657..14969f8f4 100644
--- a/qt-ui/models.h
+++ b/qt-ui/models.h
@@ -102,7 +102,10 @@ public:
END,
O2,
HE,
- /* DEPTH, */ COLUMNS
+#ifdef ENABLE_PLANNER
+ DEPTH,
+#endif
+ COLUMNS
};
explicit CylindersModel(QObject *parent = 0);