Skip to content

Commit

Permalink
Replace "subtract" with "subtracted"
Browse files Browse the repository at this point in the history
The QRegion::subtract method has been replaced with subtracted. The
functionality is the same.
  • Loading branch information
simonsonc committed Mar 27, 2014
1 parent 984fe0e commit 1bcd154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmapoverviewcanvas.cpp
Expand Up @@ -45,7 +45,7 @@ class QgsPanningWidget : public QWidget
QSize s = r->size();
QRegion reg( 0, 0, s.width(), s.height() );
QRegion reg2( 2, 2, s.width() - 4, s.height() - 4 );
QRegion reg3 = reg.subtract( reg2 );
QRegion reg3 = reg.subtracted( reg2 );
setMask( reg3 );
}

Expand Down

0 comments on commit 1bcd154

Please sign in to comment.