Skip to content
Permalink
Browse files

Fix broken encoding of spaces in Geopackage file paths in the browser

  • Loading branch information
borysiasty committed Jan 13, 2018
1 parent 545ac27 commit ebed93f1bbc6fa30cd566b42ded1a5b1cb34c75c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/ogr/qgsgeopackagedataitems.cpp
@@ -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 );
}

0 comments on commit ebed93f

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