Skip to content

Commit

Permalink
spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jan 15, 2015
1 parent e432317 commit 3bd9709
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/app/qgsadvanceddigitizingdockwidget.cpp
Expand Up @@ -501,7 +501,7 @@ bool QgsAdvancedDigitizingDockWidget::applyConstraints( QgsMapMouseEvent* e )
{
bool res = true;

QgsDebugMsg( "Contraints (locked / relative / value" );
QgsDebugMsg( "Constraints (locked / relative / value" );
QgsDebugMsg( QString( "Angle: %1 %2 %3" ).arg( mAngleConstraint->isLocked() ).arg( mAngleConstraint->relative() ).arg( mAngleConstraint->value() ) );
QgsDebugMsg( QString( "Distance: %1 %2 %3" ).arg( mDistanceConstraint->isLocked() ).arg( mDistanceConstraint->relative() ).arg( mDistanceConstraint->value() ) );
QgsDebugMsg( QString( "X: %1 %2 %3" ).arg( mXConstraint->isLocked() ).arg( mXConstraint->relative() ).arg( mXConstraint->value() ) );
Expand Down Expand Up @@ -622,7 +622,7 @@ bool QgsAdvancedDigitizingDockWidget::applyConstraints( QgsMapMouseEvent* e )
double v = ( point.x() - previousPt.x() ) * cosa + ( point.y() - previousPt.y() ) * sina ;
if ( mXConstraint->isLocked() || mYConstraint->isLocked() )
{
// perform both to detect errors in contraints
// perform both to detect errors in constraints
if ( mXConstraint->isLocked() )
{
if ( cosa == 0 )
Expand Down Expand Up @@ -694,7 +694,7 @@ bool QgsAdvancedDigitizingDockWidget::applyConstraints( QgsMapMouseEvent* e )
{
if ( mXConstraint->isLocked() || mYConstraint->isLocked() )
{
// perform both to detect errors in contraints
// perform both to detect errors in constraints
if ( mXConstraint->isLocked() )
{
const QList<QgsPoint> verticalSegment = QList<QgsPoint>()
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgscolorwidgets.h
Expand Up @@ -27,7 +27,7 @@ class QToolButton;
* \class QgsColorWidget
* A base class for interactive color widgets. Widgets can either allow setting a single component of
* a color (eg the red or green components), or an entire color. The QgsColorWidget also keeps track of
* any explicitely set hue for the color, so that this information is not lost when the widget is
* any explicitly set hue for the color, so that this information is not lost when the widget is
* set to a color with an ambiguous hue (eg black or white shades).
* \note Added in version 2.5
*/
Expand Down

0 comments on commit 3bd9709

Please sign in to comment.