Skip to content

Commit d87eb2a

Browse files
committedApr 13, 2013
Merge pull request #525 from vinayan/fix7474
Fix #7474 - Topology checker: QGIS crash on exit, after activating the topology checker panel
2 parents 27f65c2 + 8ef9e6d commit d87eb2a

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed
 

‎src/plugins/topology/checkDock.cpp

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,20 +103,11 @@ checkDock::checkDock( QgisInterface* qIface, QWidget* parent )
103103
checkDock::~checkDock()
104104
{
105105
delete mConfigureDialog;
106-
delete mErrorListModel;
107-
108-
QList<QgsRubberBand*>::const_iterator it;
109-
for ( it = mRbErrorMarkers.begin(); it != mRbErrorMarkers.end(); ++it )
110-
{
111-
QgsRubberBand* rb = *it;
112-
rb->reset();
113-
delete rb;
114-
}
115-
106+
mRbErrorMarkers.clear();
116107
clearVertexMarkers();
117-
118108
// delete errors in list
119109
deleteErrors();
110+
delete mErrorListModel;
120111
}
121112

122113
void checkDock::clearVertexMarkers()

0 commit comments

Comments
 (0)
Please sign in to comment.