Skip to content
Permalink
Browse files
Fix warnings
  • Loading branch information
m-kuhn committed May 26, 2015
1 parent 050aa8d commit 5f0d1b4bf1a6680603fe4f6f66e03aa279a14021
Showing with 1 addition and 3 deletions.
  1. +1 −1 src/core/qgsslconnect.h
  2. +0 −2 tests/src/core/testqgsmaptopixel.cpp
@@ -18,7 +18,7 @@

#include <QHash>

class sqlite3;
struct sqlite3;

class CORE_EXPORT QgsSLConnect
{
@@ -32,9 +32,7 @@ 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 5f0d1b4

Please sign in to comment.