Skip to content

Commit a4ed721

Browse files
committedSep 24, 2017
Fix passing of QgsReferencedPointXY from Python to c++
1 parent 1d6e303 commit a4ed721

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/core/qgsapplication.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ void QgsApplication::init( QString profileFolder )
151151
qRegisterMetaType<QgsFeatureIds>( "QgsFeatureIds" );
152152
qRegisterMetaType<QgsMessageLog::MessageLevel>( "QgsMessageLog::MessageLevel" );
153153
qRegisterMetaType<QgsReferencedRectangle>( "QgsReferencedRectangle" );
154+
qRegisterMetaType<QgsReferencedPointXY>( "QgsReferencedPointXY" );
154155

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

0 commit comments

Comments
 (0)
Please sign in to comment.