Skip to content
Permalink
Browse files

Make use of implicitly shared geometry

  • Loading branch information
m-kuhn committed Sep 30, 2018
1 parent 0ef2923 commit 4d374464f2de1b1ddb7c37441e916a3db779072d
@@ -83,8 +83,7 @@ QVariant QgsGeometryValidationModel::data( const QModelIndex &index, int role )

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

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

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

0 comments on commit 4d37446

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