Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix warning
  • Loading branch information
m-kuhn committed May 26, 2015
1 parent 5f0d1b4 commit 9a5e8d9
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 9a5e8d9

Please sign in to comment.