summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-01-10 17:39:25 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-01-10 21:25:02 +0100
commit14e6c132c8c6a6f351af4af5d1dcc921eca1e4bb (patch)
tree503d87b218d079a2ecd67a21811a06726464edea /profile-widget
parent85ac3106e6ed1e9620a6fd05e207ae2c9d8e762e (diff)
downloadsubsurface-14e6c132c8c6a6f351af4af5d1dcc921eca1e4bb.tar.gz
Typo: Threshould -> Threshold
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/diveprofileitem.cpp2
-rw-r--r--profile-widget/diveprofileitem.h2
-rw-r--r--profile-widget/profilewidget2.cpp2
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);