Skip to content
Permalink
Browse files

Register metatype for QgsFeatureId

Fixes warnings with use of slots/signals which require QgsFeatureId

(cherry-picked from 91dc84d)
  • Loading branch information
nyalldawson committed Aug 20, 2018
1 parent b437f78 commit abe1485d49eaca46921ff37d3f5f5d5c7d8a91aa
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 abe1485

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