diff options
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index ecaa3b170..06f1f6707 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -176,14 +176,12 @@ 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); + temperatureAxis->setLinesVisible(false); cylinderPressureAxis->setTextVisible(false); -#else - temperatureAxis->setTextVisible(true); - cylinderPressureAxis->setTextVisible(true); -#endif - + cylinderPressureAxis->setLinesVisible(false); + timeAxis->setLinesVisible(true); + profileYAxis->setLinesVisible(true); } void ProfileWidget2::setupItemSizes() |