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 Apr 7, 2021
1 parent 0ed449b commit ad1b06d
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 ad1b06d

Please sign in to comment.