Skip to content

Commit

Permalink
Fix single raster data items in ogr source select
Browse files Browse the repository at this point in the history
Thanks to Nyall for catching this.
  • Loading branch information
elpaso committed Sep 20, 2017
1 parent dc72e14 commit 825a323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrdataitems.cpp
Expand Up @@ -245,7 +245,7 @@ QList<QgsOgrDbLayerInfo *> QgsOgrLayerItem::subLayers( const QString &path, cons
}
else
{
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
Expand Down

1 comment on commit 825a323

@nyalldawson
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.