Skip to content

Commit d1a7e45

Browse files
committedMar 1, 2019
Properly connect deleters
fixes a crash
1 parent 7d83263 commit d1a7e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgsgeometryvalidationdock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ void QgsGeometryValidationDock::showHighlight( const QModelIndex &current )
335335

336336
QPropertyAnimation *errorAnimation = new QPropertyAnimation( mErrorRubberband, "fillColor" );
337337
errorAnimation->setEasingCurve( QEasingCurve::OutQuad );
338-
connect( errorAnimation, &QPropertyAnimation::finished, featureAnimation, &QPropertyAnimation::deleteLater );
338+
connect( errorAnimation, &QPropertyAnimation::finished, errorAnimation, &QPropertyAnimation::deleteLater );
339339
connect( errorAnimation, &QPropertyAnimation::valueChanged, this, [this]
340340
{
341341
mErrorRubberband->update();

0 commit comments

Comments
 (0)
Please sign in to comment.