Skip to content

Commit ebed93f

Browse files
committed
Fix broken encoding of spaces in Geopackage file paths in the browser
1 parent 545ac27 commit ebed93f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/ogr/qgsgeopackagedataitems.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ QVector<QgsDataItem *> QgsGeoPackageRootItem::createChildren()
6565
for ( const QString &connName : connList )
6666
{
6767
QgsOgrDbConnection connection( connName, QStringLiteral( "GPKG" ) );
68-
QgsDataItem *conn = new QgsGeoPackageConnectionItem( this, connection.name(), connection.uri().encodedUri() );
68+
QgsDataItem *conn = new QgsGeoPackageConnectionItem( this, connection.name(), connection.path() );
6969

7070
connections.append( conn );
7171
}

0 commit comments

Comments
 (0)