Skip to content
Permalink
Browse files

Properly connect deleters

fixes a crash
  • Loading branch information
m-kuhn committed Mar 1, 2019
1 parent 7d83263 commit d1a7e456e3a52853c20d06c34d2f4c2bc190537f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsgeometryvalidationdock.cpp
@@ -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();

0 comments on commit d1a7e45

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