I18n on shapefileName

git-svn-id: http://svn.osgeo.org/qgis/trunk@5926 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
homann 2006-10-07 22:00:04 +00:00
parent 25e0720419
commit d095b734fe

View File

@ -777,7 +777,7 @@ bool QgsDelimitedTextProvider::saveAsShapefile()
}
OGRDataSource *poDS;
// create the data source
poDS = poDriver->CreateDataSource((const char *) shapefileName, NULL);
poDS = poDriver->CreateDataSource((const char *) shapefileName.toLocal8Bit(), NULL);
if (poDS != NULL)
{
QTextCodec* saveCodec = QTextCodec::codecForName(enc.toLocal8Bit().data());