Skip to content
Permalink
Browse files

Do not show file extension in browser (#4309)

  • Loading branch information
wonder-sk committed Oct 3, 2011
1 parent 3350c9c commit 6999c897be18138d4b24035eabeeae8a6be0418c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/ogr/qgsogrprovider.cpp
@@ -2455,7 +2455,7 @@ QGISEXTERN QgsDataItem * dataItem( QString thePath, QgsDataItem* parentItem )

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

QString name = info.fileName();
QString name = info.completeBaseName();

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

0 comments on commit 6999c89

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