Skip to content

Commit

Permalink
Fix passing of QgsReferencedPointXY from Python to c++
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 24, 2017
1 parent 1d6e303 commit a4ed721
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsapplication.cpp
Expand Up @@ -151,6 +151,7 @@ void QgsApplication::init( QString profileFolder )
qRegisterMetaType<QgsFeatureIds>( "QgsFeatureIds" );
qRegisterMetaType<QgsMessageLog::MessageLevel>( "QgsMessageLog::MessageLevel" );
qRegisterMetaType<QgsReferencedRectangle>( "QgsReferencedRectangle" );
qRegisterMetaType<QgsReferencedPointXY>( "QgsReferencedPointXY" );

QString prefixPath( getenv( "QGIS_PREFIX_PATH" ) ? getenv( "QGIS_PREFIX_PATH" ) : applicationDirPath() );
// QgsDebugMsg( QString( "prefixPath(): %1" ).arg( prefixPath ) );
Expand Down

0 comments on commit a4ed721

Please sign in to comment.