diff --git a/core/action.cpp b/core/action.cpp index d00d973a6..66e78330f 100644 --- a/core/action.cpp +++ b/core/action.cpp @@ -72,6 +72,7 @@ QVector< Action * > Action::nextActions() const void Action::setNextActions( const QVector< Action * > &actions ) { Q_D( Action ); + qDeleteAll( d->m_nextActions ); d->m_nextActions = actions; }