Skip to content

Commit

Permalink
Update src/providers/hana/qgshanaconnection.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 4, 2021
1 parent b7720fe commit 0289cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/hana/qgshanaconnection.cpp
Expand Up @@ -622,7 +622,7 @@ QVector<QgsHanaLayerProperty> QgsHanaConnection::getLayers(
layer.srid = -1;
layer.type = isGeometryColumn ? QgsWkbTypes::Type::Unknown : QgsWkbTypes::NoGeometry;

if ( layerFilter != nullptr && !layerFilter( layer ) )
if ( layerFilter && !layerFilter( layer ) )
continue;

QPair<QString, QString> layerKey( layer.schemaName, layer.tableName );
Expand Down

0 comments on commit 0289cb7

Please sign in to comment.