Skip to content

Commit 6999c89

Browse files
committed
Do not show file extension in browser (#4309)
1 parent 3350c9c commit 6999c89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/providers/ogr/qgsogrprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2455,7 +2455,7 @@ QGISEXTERN QgsDataItem * dataItem( QString thePath, QgsDataItem* parentItem )
24552455

24562456
QgsDebugMsg( QString( "ogrType = %1 layertype = %2" ).arg( ogrType ).arg( layerType ) );
24572457

2458-
QString name = info.fileName();
2458+
QString name = info.completeBaseName();
24592459

24602460
QString layerName = FROM8( OGR_FD_GetName( hDef ) );
24612461
QgsDebugMsg( "OGR layer name : " + layerName );

0 commit comments

Comments
 (0)