Skip to content
Browse files

Fix single raster data items in ogr source select

Thanks to Nyall for catching this.
  • Loading branch information
elpaso committed Sep 20, 2017
1 parent dc72e14 commit 825a323a14db2e0ae84df0f0c8988eed9b8555e9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/ogr/qgsogrdataitems.cpp
@@ -245,7 +245,7 @@ QList<QgsOgrDbLayerInfo *> QgsOgrLayerItem::subLayers( const QString &path, cons
QString uri( QStringLiteral( "%1:%1" ).arg( driver, path ) );
QString uri( QStringLiteral( "%1:%2" ).arg( driver, path ) );
QString name = GDALGetMetadataItem( hDS, "IDENTIFIER", NULL );
GDALClose( hDS );
// Fallback: will not be able to delete the table

1 comment on commit 825a323


This comment has been minimized.

Copy link

@nyalldawson nyalldawson commented on 825a323 Sep 20, 2017

Actually it was throwing a qt warning... unfortunately I don't have super powers to spot tiny things like this!

Please sign in to comment.
You can’t perform that action at this time.