aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-02 13:12:11 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-02 13:14:04 -0800
commitbaa4b4d7c5c3fef4a13b4c592b3e63cd4bc1746f (patch)
treeb418da829575a7c5539d45f1ffbf77e1bc725901 /qt-ui/profile
parentbbc3a0e55fd1ebf98ba4b79b6115ab115f1b47a3 (diff)
downloadsubsurface-baa4b4d7c5c3fef4a13b4c592b3e63cd4bc1746f.tar.gz
Don't show the plot_info table in every debug build
Instead add a new define SHOW_PLOT_INFO_TABLE that triggers if this debugging aid is shown. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile')
-rw-r--r--qt-ui/profile/profilewidget2.cpp2
1 files changed, 1 insertions, 1 deletions
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();