Skip to content

Commit 3bd9709

Browse files
committed
spelling fixes
1 parent e432317 commit 3bd9709

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/qgsadvanceddigitizingdockwidget.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ bool QgsAdvancedDigitizingDockWidget::applyConstraints( QgsMapMouseEvent* e )
501501
{
502502
bool res = true;
503503

504-
QgsDebugMsg( "Contraints (locked / relative / value" );
504+
QgsDebugMsg( "Constraints (locked / relative / value" );
505505
QgsDebugMsg( QString( "Angle: %1 %2 %3" ).arg( mAngleConstraint->isLocked() ).arg( mAngleConstraint->relative() ).arg( mAngleConstraint->value() ) );
506506
QgsDebugMsg( QString( "Distance: %1 %2 %3" ).arg( mDistanceConstraint->isLocked() ).arg( mDistanceConstraint->relative() ).arg( mDistanceConstraint->value() ) );
507507
QgsDebugMsg( QString( "X: %1 %2 %3" ).arg( mXConstraint->isLocked() ).arg( mXConstraint->relative() ).arg( mXConstraint->value() ) );
@@ -622,7 +622,7 @@ bool QgsAdvancedDigitizingDockWidget::applyConstraints( QgsMapMouseEvent* e )
622622
double v = ( point.x() - previousPt.x() ) * cosa + ( point.y() - previousPt.y() ) * sina ;
623623
if ( mXConstraint->isLocked() || mYConstraint->isLocked() )
624624
{
625-
// perform both to detect errors in contraints
625+
// perform both to detect errors in constraints
626626
if ( mXConstraint->isLocked() )
627627
{
628628
if ( cosa == 0 )
@@ -694,7 +694,7 @@ bool QgsAdvancedDigitizingDockWidget::applyConstraints( QgsMapMouseEvent* e )
694694
{
695695
if ( mXConstraint->isLocked() || mYConstraint->isLocked() )
696696
{
697-
// perform both to detect errors in contraints
697+
// perform both to detect errors in constraints
698698
if ( mXConstraint->isLocked() )
699699
{
700700
const QList<QgsPoint> verticalSegment = QList<QgsPoint>()

src/gui/qgscolorwidgets.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class QToolButton;
2727
* \class QgsColorWidget
2828
* A base class for interactive color widgets. Widgets can either allow setting a single component of
2929
* a color (eg the red or green components), or an entire color. The QgsColorWidget also keeps track of
30-
* any explicitely set hue for the color, so that this information is not lost when the widget is
30+
* any explicitly set hue for the color, so that this information is not lost when the widget is
3131
* set to a color with an ambiguous hue (eg black or white shades).
3232
* \note Added in version 2.5
3333
*/

0 commit comments

Comments
 (0)