Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 26, 2015
1 parent 3a86771 commit 050aa8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/core/testqgsmaptopixel.cpp
Expand Up @@ -32,7 +32,9 @@ class TestQgsMapToPixel: public QObject

void TestQgsMapToPixel::legacy()
{
Q_NOWARN_DEPRECATED_PUSH
QgsMapToPixel m2p( 2, 10, -4, 3 );
Q_NOWARN_DEPRECATED_POP

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

0 comments on commit 050aa8d

Please sign in to comment.