Skip to content

Commit

Permalink
Merge pull request #525 from vinayan/fix7474
Browse files Browse the repository at this point in the history
Fix #7474 - Topology checker: QGIS crash on exit, after activating the topology checker panel
  • Loading branch information
mach0 committed Apr 13, 2013
2 parents 27f65c2 + 8ef9e6d commit d87eb2a
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/plugins/topology/checkDock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,11 @@ checkDock::checkDock( QgisInterface* qIface, QWidget* parent )
checkDock::~checkDock()
{
delete mConfigureDialog;
delete mErrorListModel;

QList<QgsRubberBand*>::const_iterator it;
for ( it = mRbErrorMarkers.begin(); it != mRbErrorMarkers.end(); ++it )
{
QgsRubberBand* rb = *it;
rb->reset();
delete rb;
}

mRbErrorMarkers.clear();
clearVertexMarkers();

// delete errors in list
deleteErrors();
delete mErrorListModel;
}

void checkDock::clearVertexMarkers()
Expand Down

0 comments on commit d87eb2a

Please sign in to comment.