From 0b69354f170a7dc6f2f6968d94498d2213b95fb9 Mon Sep 17 00:00:00 2001 From: spo Date: Mon, 21 Dec 2015 14:04:21 +0300 Subject: [PATCH] Spell-checking --- src/ModuleBase/ModuleBase_ParamSpinBox.cpp | 2 +- src/PartSet/PartSet_WidgetPoint2d.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ModuleBase/ModuleBase_ParamSpinBox.cpp b/src/ModuleBase/ModuleBase_ParamSpinBox.cpp index 43ffd3400..17b9307ca 100644 --- a/src/ModuleBase/ModuleBase_ParamSpinBox.cpp +++ b/src/ModuleBase/ModuleBase_ParamSpinBox.cpp @@ -67,7 +67,7 @@ double ModuleBase_ParamSpinBox::valueFromText(const QString& theText) const if (!hasVariable(theText)) return ModuleBase_DoubleSpinBox::valueFromText(theText); - // small hack: return length of the string to initiate valuesChanged signal + // small hack: return hash of the string to initiate valuesChanged signal return qHash(theText); } diff --git a/src/PartSet/PartSet_WidgetPoint2d.cpp b/src/PartSet/PartSet_WidgetPoint2d.cpp index 9c7f6b1e5..1e9f5f685 100644 --- a/src/PartSet/PartSet_WidgetPoint2d.cpp +++ b/src/PartSet/PartSet_WidgetPoint2d.cpp @@ -64,7 +64,7 @@ PartSet_WidgetPoint2D::PartSet_WidgetPoint2D(QWidget* theParent, << SketchPlugin_Circle::ID().c_str(); } - // the control should accept the focus, so the boolen flag is corrected to be true + // the control should accept the focus, so the boolean flag is corrected to be true myIsObligatory = true; //myOptionParam = theData->getProperty(PREVIOUS_FEATURE_PARAM); QString aPageName = QString::fromStdString(theData->getProperty(CONTAINER_PAGE_NAME)); @@ -150,7 +150,7 @@ bool PartSet_WidgetPoint2D::setSelection(QList& theValues, else if (canBeActivatedByMove()) { if (feature()->getKind() == SketchPlugin_Line::ID()) { FeaturePtr aFeature = std::dynamic_pointer_cast(aValue.object()); - // Initialise new line with first point equal to end of previous + // Initialize new line with first point equal to end of previous if (aFeature.get()) { std::shared_ptr aData = aFeature->data(); std::shared_ptr aPoint = -- 2.39.2