Skip to content

Commit

Permalink
add assert on gatherer
Browse files Browse the repository at this point in the history
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
troopa81 and m-kuhn committed Apr 15, 2020
1 parent 091c86a commit 43533ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsfeaturefiltermodel.cpp
Expand Up @@ -227,6 +227,7 @@ void QgsFeatureFilterModel::updateCompleter()
emit beginUpdate();

QgsFieldExpressionValuesGatherer *gatherer = qobject_cast<QgsFieldExpressionValuesGatherer *>( sender() );
Q_ASSERT( gatherer );
if ( gatherer->wasCanceled() )
{
delete gatherer;
Expand Down

0 comments on commit 43533ca

Please sign in to comment.