Skip to content

Commit

Permalink
Fix broken encoding of spaces in Geopackage file paths in the browser
Browse files Browse the repository at this point in the history
  • Loading branch information
borysiasty committed Jan 13, 2018
1 parent 545ac27 commit ebed93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsgeopackagedataitems.cpp
Expand Up @@ -65,7 +65,7 @@ QVector<QgsDataItem *> QgsGeoPackageRootItem::createChildren()
for ( const QString &connName : connList )
{
QgsOgrDbConnection connection( connName, QStringLiteral( "GPKG" ) );
QgsDataItem *conn = new QgsGeoPackageConnectionItem( this, connection.name(), connection.uri().encodedUri() );
QgsDataItem *conn = new QgsGeoPackageConnectionItem( this, connection.name(), connection.path() );

connections.append( conn );
}
Expand Down

0 comments on commit ebed93f

Please sign in to comment.