diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-22 06:42:02 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-22 10:57:51 -0700 |
commit | 1ecc9b0cc0c4e7ad2b03236a788cf875189f1832 (patch) | |
tree | 15c9c28c046032e22a5ae155b59aa6f502c08848 /qt-ui/profile/divecartesianaxis.cpp | |
parent | 85dfb88f51098158a5fac52ce432a07625374c70 (diff) | |
download | subsurface-1ecc9b0cc0c4e7ad2b03236a788cf875189f1832.tar.gz |
Address uninitialized member warnings
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.cpp')
-rw-r--r-- | qt-ui/profile/divecartesianaxis.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp index 41d94a9a0..46f1a9656 100644 --- a/qt-ui/profile/divecartesianaxis.cpp +++ b/qt-ui/profile/divecartesianaxis.cpp @@ -407,7 +407,9 @@ QString TemperatureAxis::textForValue(double value) return QString::number(mkelvin_to_C((int)value)); } -PartialGasPressureAxis::PartialGasPressureAxis() +PartialGasPressureAxis::PartialGasPressureAxis() : + DiveCartesianAxis(), + model(NULL) { connect(PreferencesDialog::instance(), SIGNAL(settingsChanged()), this, SLOT(settingsChanged())); } |