Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 21, 2018
1 parent 6eeaca5 commit d1cced7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions scripts/spell_check/spelling.dat
Expand Up @@ -4501,6 +4501,7 @@ modfying:modifying
modifed:modified
modifes:modifies
modifing:modifying
modifer:modifier
modle:model
moduel:module
moduels:modules
Expand Down
2 changes: 1 addition & 1 deletion src/gui/layout/qgslayoutviewtoolselect.cpp
Expand Up @@ -178,7 +178,7 @@ void QgsLayoutViewToolSelect::layoutReleaseEvent( QgsLayoutViewMouseEvent *event
bool subtractingSelection = false;
if ( event->modifiers() & Qt::ShiftModifier )
{
//shift modifer means adding to selection, nothing required here
//shift modifier means adding to selection, nothing required here
}
else if ( event->modifiers() & Qt::ControlModifier )
{
Expand Down
8 changes: 4 additions & 4 deletions src/gui/qgsadvanceddigitizingdockwidget.cpp
Expand Up @@ -806,7 +806,7 @@ bool QgsAdvancedDigitizingDockWidget::filterKeyPress( QKeyEvent *e )
{
case Qt::Key_X:
{
// modifer+x ONLY caught for ShortcutOverride events...
// modifier+x ONLY caught for ShortcutOverride events...
if ( type == QEvent::ShortcutOverride && ( e->modifiers() == Qt::AltModifier || e->modifiers() == Qt::ControlModifier ) )
{
mXConstraint->toggleLocked();
Expand All @@ -833,7 +833,7 @@ bool QgsAdvancedDigitizingDockWidget::filterKeyPress( QKeyEvent *e )
}
case Qt::Key_Y:
{
// modifer+y ONLY caught for ShortcutOverride events...
// modifier+y ONLY caught for ShortcutOverride events...
if ( type == QEvent::ShortcutOverride && ( e->modifiers() == Qt::AltModifier || e->modifiers() == Qt::ControlModifier ) )
{
mYConstraint->toggleLocked();
Expand All @@ -860,7 +860,7 @@ bool QgsAdvancedDigitizingDockWidget::filterKeyPress( QKeyEvent *e )
}
case Qt::Key_A:
{
// modifer+a ONLY caught for ShortcutOverride events...
// modifier+a ONLY caught for ShortcutOverride events...
if ( type == QEvent::ShortcutOverride && ( e->modifiers() == Qt::AltModifier || e->modifiers() == Qt::ControlModifier ) )
{
if ( mCapacities.testFlag( AbsoluteAngle ) )
Expand Down Expand Up @@ -890,7 +890,7 @@ bool QgsAdvancedDigitizingDockWidget::filterKeyPress( QKeyEvent *e )
}
case Qt::Key_D:
{
// modifer+d ONLY caught for ShortcutOverride events...
// modifier+d ONLY caught for ShortcutOverride events...
if ( type == QEvent::ShortcutOverride && ( e->modifiers() == Qt::AltModifier || e->modifiers() == Qt::ControlModifier ) )
{
if ( mCapacities.testFlag( RelativeCoordinates ) )
Expand Down

0 comments on commit d1cced7

Please sign in to comment.