Skip to content
Permalink
Browse files
Fix warning
  • Loading branch information
m-kuhn committed May 26, 2015
1 parent 5f0d1b4 commit 9a5e8d9ab8a50b1c8359ae8c729c627183a550db
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 9a5e8d9

Please sign in to comment.