Skip to content
Permalink
Browse files

Register metatype for QgsFeatureId

Fixes warnings with use of slots/signals which require QgsFeatureId
  • Loading branch information
nyalldawson committed Aug 20, 2018
1 parent 860968b commit 91dc84d2ede3ec05c5195483d86d7eda3cff432b
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsapplication.cpp
@@ -162,6 +162,7 @@ void QgsApplication::init( QString profileFolder )
qRegisterMetaType<QgsProcessingFeatureSourceDefinition>( "QgsProcessingFeatureSourceDefinition" );
qRegisterMetaType<QgsProcessingOutputLayerDefinition>( "QgsProcessingOutputLayerDefinition" );
qRegisterMetaType<QgsUnitTypes::LayoutUnit>( "QgsUnitTypes::LayoutUnit" );
qRegisterMetaType<QgsFeatureId>( "QgsFeatureId" );
qRegisterMetaType<QgsFeatureIds>( "QgsFeatureIds" );
qRegisterMetaType<Qgis::MessageLevel>( "Qgis::MessageLevel" );
qRegisterMetaType<QgsReferencedRectangle>( "QgsReferencedRectangle" );

0 comments on commit 91dc84d

Please sign in to comment.
You can’t perform that action at this time.