Skip to content
Permalink
Browse files

Properly connect deleters

fixes a crash
  • Loading branch information
m-kuhn committed Mar 1, 2019
1 parent 2ae8f36 commit 89e0ff928227ce9250c5253683b6ab4650619f5a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsgeometryvalidationdock.cpp
@@ -325,7 +325,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 89e0ff9

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