Skip to content
Permalink
Browse files
Replace "subtract" with "subtracted"
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 1bcd1547092f8a2b58492dc7b3cff019cd992266
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsmapoverviewcanvas.cpp
@@ -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 );
}

0 comments on commit 1bcd154

Please sign in to comment.