Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
I18n on shapefileName
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5927 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Oct 7, 2006
1 parent 6791cc1 commit 1af2f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/mysql/qgsmysqlprovider.cpp
Expand Up @@ -843,7 +843,7 @@ bool QgsMySQLProvider::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());
Expand Down

0 comments on commit 1af2f67

Please sign in to comment.