Skip to content

Commit

Permalink
Fixed a small i18n issue
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@11147 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Jul 22, 2009
1 parent 37d01af commit 6fbb9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -211,7 +211,7 @@ QStringList QgsOgrProvider::subLayers() const
}
for ( unsigned int i = 0; i < layerCount() ; i++ )
{
QString theLayerName = QString( OGR_FD_GetName( OGR_L_GetLayerDefn( OGR_DS_GetLayer( ogrDataSource, i ) ) ) );
QString theLayerName = QFile::decodeName( OGR_FD_GetName( OGR_L_GetLayerDefn( OGR_DS_GetLayer( ogrDataSource, i ) ) ) );
OGRwkbGeometryType layerGeomType = OGR_FD_GetGeomType( OGR_L_GetLayerDefn( OGR_DS_GetLayer( ogrDataSource, i ) ) );

int theLayerFeatureCount = OGR_L_GetFeatureCount( OGR_DS_GetLayer( ogrDataSource, i ), 1 ) ;
Expand Down

0 comments on commit 6fbb9b4

Please sign in to comment.