diff --git a/src/app/qgsgeometryvalidationservice.cpp b/src/app/qgsgeometryvalidationservice.cpp index f76d9ce8dd61..3c9e1b29ebfa 100644 --- a/src/app/qgsgeometryvalidationservice.cpp +++ b/src/app/qgsgeometryvalidationservice.cpp @@ -89,6 +89,6 @@ void QgsGeometryValidationService::processFeature( QgsVectorLayer *layer, QgsFea QgsFeature feature = layer->getFeature( fid ); // TODO: this is a bit hardcore - const auto errors = mIsValidGeometryCheck->processGeometry( feature.geometry() ); + const auto errors = mIsValidGeometryCheck->processGeometry( feature.geometry(), QVariantMap() ); // emit geometryCheckCompleted( layer, fid, errors ); } diff --git a/src/app/qgsmaplayerstylecategoriesmodel.cpp b/src/app/qgsmaplayerstylecategoriesmodel.cpp index b0e8149f20af..cef26f68eea9 100644 --- a/src/app/qgsmaplayerstylecategoriesmodel.cpp +++ b/src/app/qgsmaplayerstylecategoriesmodel.cpp @@ -230,6 +230,7 @@ QVariant QgsMapLayerStyleCategoriesModel::data( const QModelIndex &index, int ro return QVariant(); } break; + } return QVariant(); }