Skip to content
Permalink
Browse files

Register QgsFeatureIds metatype

Fixes warnings when using signals which use this type, like
QgsVectorLayer::selectionChanged
  • Loading branch information
nyalldawson committed Aug 2, 2017
1 parent 04059eb commit 16629b406b63607abf38f51ff38c49924081a90e
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsapplication.cpp
@@ -147,6 +147,7 @@ void QgsApplication::init( QString profileFolder )
qRegisterMetaType<QgsProcessingFeatureSourceDefinition>( "QgsProcessingFeatureSourceDefinition" );
qRegisterMetaType<QgsProcessingOutputLayerDefinition>( "QgsProcessingOutputLayerDefinition" );
qRegisterMetaType<QgsUnitTypes::LayoutUnit>( "QgsUnitTypes::LayoutUnit" );
qRegisterMetaType<QgsFeatureIds>( "QgsFeatureIds" );

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

0 comments on commit 16629b4

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