Skip to content
Permalink
Browse files
Fix warning
  • Loading branch information
m-kuhn committed May 26, 2015
1 parent 3a86771 commit 050aa8d0f415586fba2f96d865aa8e62312c634c
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/src/core/testqgsmaptopixel.cpp
@@ -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

0 comments on commit 050aa8d

Please sign in to comment.