summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--INSTALL5
-rw-r--r--qt-ui/profile/profilewidget2.cpp2
2 files changed, 6 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 6b7191ade..379e658d3 100644
--- a/INSTALL
+++ b/INSTALL
@@ -52,6 +52,11 @@ The following options are recognized when passed to qmake:
(pass the actual path, without -I)
LIBS+=xxx Add xxx to the linker flags. -l and -L options are
recognized.
+ DEFINES+=SHOW_PLOT_INFO_TABLE=1
+ Only available in debug builds, this creates a
+ second window that shows all elements in the
+ plot_info structure as a table - very useful when
+ debugging issues with the profile
The INCLUDEPATH and LIBS options are useful to tell the buildsystem
about non-standard installation paths for the dependencies (such as
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index db3d0be35..ab16146e8 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -127,7 +127,7 @@ ProfileWidget2::ProfileWidget2(QWidget *parent) : QGraphicsView(parent),
ADD_ACTION(Qt::Key_Right, keyRightAction());
#undef ADD_ACTION
-#ifndef QT_NO_DEBUG
+#if !defined(QT_NO_DEBUG) && defined(SHOW_PLOT_INFO_TABLE)
QTableView *diveDepthTableView = new QTableView();
diveDepthTableView->setModel(dataModel);
diveDepthTableView->show();