We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5be5c1e commit 17ca25fCopy full SHA for 17ca25f
src/app/qgisapp.cpp
@@ -8928,7 +8928,7 @@ void QgisApp::layerSubsetString()
8928
}
8929
8930
// launch the query builder
8931
- QgsQueryBuilder *qb = new QgsQueryBuilder( vlayer, this );
+ std::unique_ptr<QgsQueryBuilder> qb( new QgsQueryBuilder( vlayer, this ) );
8932
QString subsetBefore = vlayer->subsetString();
8933
8934
// Set the sql in the query builder to the same in the prop dialog
@@ -8947,8 +8947,6 @@ void QgisApp::layerSubsetString()
8947
8948
8949
8950
- // delete the query builder object
8951
- delete qb;
8952
8953
8954
void QgisApp::saveLastMousePosition( const QgsPointXY &p )
0 commit comments