[QGIS Commit] r11148 - trunk/qgis/src/providers/ogr
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Jul 22 15:46:27 EDT 2009
Author: homann
Date: 2009-07-22 15:46:26 -0400 (Wed, 22 Jul 2009)
New Revision: 11148
Modified:
trunk/qgis/src/providers/ogr/qgsogrprovider.cpp
Log:
Fixed the fix of a small i18n issue.
Modified: trunk/qgis/src/providers/ogr/qgsogrprovider.cpp
===================================================================
--- trunk/qgis/src/providers/ogr/qgsogrprovider.cpp 2009-07-22 19:11:52 UTC (rev 11147)
+++ trunk/qgis/src/providers/ogr/qgsogrprovider.cpp 2009-07-22 19:46:26 UTC (rev 11148)
@@ -211,7 +211,7 @@
}
for ( unsigned int i = 0; i < layerCount() ; i++ )
{
- QString theLayerName = QFile::decodeName( OGR_FD_GetName( OGR_L_GetLayerDefn( OGR_DS_GetLayer( ogrDataSource, i ) ) ) );
+ QString theLayerName = QString::fromLocal8Bit( 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 ) ;
More information about the QGIS-commit
mailing list