Skip to content

Commit 050aa8d

Browse files
committedMay 26, 2015
Fix warning
1 parent 3a86771 commit 050aa8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎tests/src/core/testqgsmaptopixel.cpp

Lines changed: 2 additions & 0 deletions
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)
Please sign in to comment.