mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Fix warning
This commit is contained in:
parent
5f0d1b4bf1
commit
9a5e8d9ab8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user