mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:23:25 +00:00
Typo: Threshould -> Threshold
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
85ac3106e6
commit
14e6c132c8
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue