Skip to content
Permalink
Browse files

Remove unused cast

  • Loading branch information
elpaso authored and nyalldawson committed Sep 14, 2018
1 parent c0edba9 commit 899edee443d89fe1354ec3f9ce9c3dfa5eb01676
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/processing/qgsprocessingtoolboxmodel.cpp
@@ -722,7 +722,7 @@ bool QgsProcessingToolboxProxyModel::filterAcceptsRow( int sourceRow, const QMod
if ( !supportsInPlace )
return false;

const QgsProcessingAlgorithm *alg = dynamic_cast< const QgsProcessingAlgorithm * >( mModel->algorithmForIndex( sourceIndex ) );
const QgsProcessingAlgorithm *alg = mModel->algorithmForIndex( sourceIndex );
if ( !( mInPlaceLayer && alg && alg->supportInPlaceEdit( mInPlaceLayer ) ) )
{
return false;

0 comments on commit 899edee

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