Skip to content

Commit 899edee

Browse files
elpasonyalldawson
authored andcommitted
Remove unused cast
1 parent c0edba9 commit 899edee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/processing/qgsprocessingtoolboxmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ bool QgsProcessingToolboxProxyModel::filterAcceptsRow( int sourceRow, const QMod
722722
if ( !supportsInPlace )
723723
return false;
724724

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

0 commit comments

Comments
 (0)