Skip to content

Commit 1bcd154

Browse files
committed
Replace "subtract" with "subtracted"
The QRegion::subtract method has been replaced with subtracted. The functionality is the same.
1 parent 984fe0e commit 1bcd154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgsmapoverviewcanvas.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class QgsPanningWidget : public QWidget
4545
QSize s = r->size();
4646
QRegion reg( 0, 0, s.width(), s.height() );
4747
QRegion reg2( 2, 2, s.width() - 4, s.height() - 4 );
48-
QRegion reg3 = reg.subtract( reg2 );
48+
QRegion reg3 = reg.subtracted( reg2 );
4949
setMask( reg3 );
5050
}
5151

0 commit comments

Comments
 (0)