diff options
Diffstat (limited to 'profile-widget')
-rw-r--r-- | profile-widget/diveprofileitem.cpp | 2 | ||||
-rw-r--r-- | profile-widget/diveprofileitem.h | 2 | ||||
-rw-r--r-- | profile-widget/profilewidget2.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/profile-widget/diveprofileitem.cpp b/profile-widget/diveprofileitem.cpp index 983c8a54f..f23796886 100644 --- a/profile-widget/diveprofileitem.cpp +++ b/profile-widget/diveprofileitem.cpp @@ -1037,7 +1037,7 @@ void PartialPressureGasItem::paint(QPainter *painter, const QStyleOptionGraphics painter->restore(); } -void PartialPressureGasItem::setThreshouldSettingsKey(double *prefPointerMin, double *prefPointerMax) +void PartialPressureGasItem::setThresholdSettingsKey(double *prefPointerMin, double *prefPointerMax) { thresholdPtrMin = prefPointerMin; thresholdPtrMax = prefPointerMax; diff --git a/profile-widget/diveprofileitem.h b/profile-widget/diveprofileitem.h index 375760512..4cf33d2be 100644 --- a/profile-widget/diveprofileitem.h +++ b/profile-widget/diveprofileitem.h @@ -216,7 +216,7 @@ public: PartialPressureGasItem(); virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); virtual void modelDataChanged(const QModelIndex &topLeft = QModelIndex(), const QModelIndex &bottomRight = QModelIndex()); - void setThreshouldSettingsKey(double *prefPointerMin, double *prefPointerMax); + void setThresholdSettingsKey(double *prefPointerMin, double *prefPointerMax); void setVisibilitySettingsKey(const QString &setVisibilitySettingsKey); void setColors(const QColor &normalColor, const QColor &alertColor); diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index 3dd595caa..7445b745f 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -359,7 +359,7 @@ void ProfileWidget2::createPPGas(PartialPressureGasItem *item, int verticalColum double *thresholdSettingsMin, double *thresholdSettingsMax) { setupItem(item, gasYAxis, verticalColumn, DivePlotDataModel::TIME, 0); - item->setThreshouldSettingsKey(thresholdSettingsMin, thresholdSettingsMax); + item->setThresholdSettingsKey(thresholdSettingsMin, thresholdSettingsMax); item->setColors(getColor(color, isGrayscale), getColor(colorAlert, isGrayscale)); item->settingsChanged(); item->setZValue(99); |