Skip to content

Commit

Permalink
Make use of implicitly shared geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 15, 2018
1 parent 0ef2923 commit 4d37446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/qgsgeometryvalidationmodel.cpp
Expand Up @@ -83,8 +83,7 @@ QVariant QgsGeometryValidationModel::data( const QModelIndex &index, int role )


case ErrorGeometryRole: case ErrorGeometryRole:
{ {
// TODO: save as QgsGeometry already in the error return topologyError->geometry();
return QgsGeometry( topologyError->geometry()->clone() );
} }


case FeatureGeometryRole: case FeatureGeometryRole:
Expand Down
Expand Up @@ -43,6 +43,7 @@
#include "qgssettings.h" #include "qgssettings.h"
#include "qgsscrollarea.h" #include "qgsscrollarea.h"
#include "qgsgeometrycheckerror.h" #include "qgsgeometrycheckerror.h"
#include "qgsgeometry.h"


QString QgsGeometryCheckerResultTab::sSettingsGroup = QStringLiteral( "/geometry_checker/default_fix_methods/" ); QString QgsGeometryCheckerResultTab::sSettingsGroup = QStringLiteral( "/geometry_checker/default_fix_methods/" );


Expand Down

0 comments on commit 4d37446

Please sign in to comment.