Skip to content

Commit

Permalink
Do not show file extension in browser (#4309)
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Oct 3, 2011
1 parent 3350c9c commit 6999c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 6999c89

Please sign in to comment.