aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 71fa6512a..ccbc4f6a1 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -176,6 +176,14 @@ void ProfileWidget2::setupItemOnScene()
CREATE_PP_GAS( po2GasItem, PO2, PO2, PO2_ALERT, "po2threshold", "po2graph");
#undef CREATE_PP_GAS
+#ifdef QT_NO_DEBUG // Some debug helpers.
+ temperatureAxis->setTextVisible(false);
+ cylinderPressureAxis->setTextVisible(false);
+#else
+ temperatureAxis->setTextVisible(true);
+ cylinderPressureAxis->setTextVisible(true);
+#endif
+
}
void ProfileWidget2::setupItemSizes()