summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-03 21:05:08 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-03 21:05:08 -0700
commitda911993f12b2ea3f519294c1c4d160c97cda54f (patch)
treed862ca323823156044e59fcf829c80b7bab36d2b /subsurface.pro
parent5fb947681e234a52ac6457a80a12e0362433cd5c (diff)
downloadsubsurface-da911993f12b2ea3f519294c1c4d160c97cda54f.tar.gz
Small cleanups
Add commented out options to subsurface.pro that enable debuging the planner. Remove obsolete comment. Clean up the selection tracking. Force the re-sort of the divelist inside the reload instead of explicitly calling it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/subsurface.pro b/subsurface.pro
index b9ff68a4f..71cfcee39 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -303,11 +303,14 @@ QMAKE_TARGET_COPYRIGHT = Linus Torvalds, Dirk Hohndel and others
QMAKE_INFO_PLIST = packaging/macosx/Info.plist.in
OTHER_FILES += $$DESKTOPFILE $$ICON $$MANPAGE $$XSLT_FILES $$DOC_FILES $$MARBLEDIR \
- $$QMAKE_INFO_PLIST
+ $$QMAKE_INFO_PLIST
include(subsurface-gen-version.pri)
include(subsurface-install.pri)
+# to debug planner issues
+#QMAKE_CFLAGS += -DDEBUG_PLAN=31
+#QMAKE_CXXFLAGS += -DDEBUG_PLAN=31
# to build debuggable binaries on Windows, you need something like this
#QMAKE_CFLAGS_RELEASE=$$QMAKE_CFLAGS_DEBUG -O0 -g
#QMAKE_CXXFLAGS_RELEASE=$$QMAKE_CXXFLAGS_DEBUG -O0 -g