Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Replace dynamic_cast by qobject_cast
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/core/qgsvectorlayer.cpp
|
@@ -4582,6 +4582,6 @@ void QgsVectorLayer::onDirtyTransaction( const QString &sql ) |
|
|
QgsTransaction *tr = dataProvider()->transaction(); |
|
|
if ( tr && mEditBuffer ) |
|
|
{ |
|
|
dynamic_cast<QgsVectorLayerEditPassthrough *>( mEditBuffer )->update( tr, sql ); |
|
|
qobject_cast<QgsVectorLayerEditPassthrough *>( mEditBuffer )->update( tr, sql ); |
|
|
} |
|
|
} |