Skip to content

Commit

Permalink
Properly connect deleters
Browse files Browse the repository at this point in the history
fixes a crash
  • Loading branch information
m-kuhn committed Mar 1, 2019
1 parent 7d83263 commit d1a7e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsgeometryvalidationdock.cpp
Expand Up @@ -335,7 +335,7 @@ void QgsGeometryValidationDock::showHighlight( const QModelIndex &current )

QPropertyAnimation *errorAnimation = new QPropertyAnimation( mErrorRubberband, "fillColor" );
errorAnimation->setEasingCurve( QEasingCurve::OutQuad );
connect( errorAnimation, &QPropertyAnimation::finished, featureAnimation, &QPropertyAnimation::deleteLater );
connect( errorAnimation, &QPropertyAnimation::finished, errorAnimation, &QPropertyAnimation::deleteLater );
connect( errorAnimation, &QPropertyAnimation::valueChanged, this, [this]
{
mErrorRubberband->update();
Expand Down

0 comments on commit d1a7e45

Please sign in to comment.