Skip to content

Commit 9a5e8d9

Browse files
committed
Fix warning
1 parent 5f0d1b4 commit 9a5e8d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/src/core/testqgsmaptopixel.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ class TestQgsMapToPixel: public QObject
3232

3333
void TestQgsMapToPixel::legacy()
3434
{
35+
Q_NOWARN_DEPRECATED_PUSH
3536
QgsMapToPixel m2p( 2, 10, -4, 3 );
37+
Q_NOWARN_DEPRECATED_POP
3638

3739
QgsPoint p( 0, 0 ); // in geographical units
3840
QgsPoint d = m2p.transform( p ); // to device pixels

0 commit comments

Comments
 (0)