Signed-off-by: Anton Lundin <[email protected]>
---
qt-ui/profile/diveprofileitem.cpp | 2 +-
qt-ui/profile/profilewidget2.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/qt-ui/profile/diveprofileitem.cpp
b/qt-ui/profile/diveprofileitem.cpp
index 443a040..c049d91 100644
--- a/qt-ui/profile/diveprofileitem.cpp
+++ b/qt-ui/profile/diveprofileitem.cpp
@@ -978,7 +978,7 @@ void PartialPressureGasItem::setColors(const QColor
&normal, const QColor &alert
alertColor = alert;
}
-InstantMeanDepthLine::InstantMeanDepthLine() : vAxis(NULL), hAxis(NULL)
+InstantMeanDepthLine::InstantMeanDepthLine() : hAxis(NULL), vAxis(NULL)
{
}
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index e4dd818..f9aa49e 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -84,9 +84,9 @@ ProfileWidget2::ProfileWidget2(QWidget *parent) :
QGraphicsView(parent),
timeAxis(new TimeAxis()),
diveProfileItem(new DiveProfileItem()),
temperatureItem(new DiveTemperatureItem()),
+ meanDepthItem(new DiveMeanDepthItem()),
cylinderPressureAxis(new DiveCartesianAxis()),
gasPressureItem(new DiveGasPressureItem()),
- meanDepthItem(new DiveMeanDepthItem()),
diveComputerText(new DiveTextItem()),
diveCeiling(new DiveCalculatedCeiling()),
reportedCeiling(new DiveReportedCeiling()),
--
2.1.0
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface