From 14e6c132c8c6a6f351af4af5d1dcc921eca1e4bb Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 10 Jan 2018 17:39:25 +0100 Subject: Typo: Threshould -> Threshold Signed-off-by: Berthold Stoeger --- profile-widget/diveprofileitem.cpp | 2 +- profile-widget/diveprofileitem.h | 2 +- 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); -- cgit v1.2.3-70-g09d2