[QGIS Commit] r11793 - trunk/qgis/src/app/ogr
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat Oct 10 16:08:32 EDT 2009
Author: jef
Date: 2009-10-10 16:08:31 -0400 (Sat, 10 Oct 2009)
New Revision: 11793
Modified:
trunk/qgis/src/app/ogr/qgsnewogrconnection.cpp
Log:
might fix the output of OGR error messages on windows
Modified: trunk/qgis/src/app/ogr/qgsnewogrconnection.cpp
===================================================================
--- trunk/qgis/src/app/ogr/qgsnewogrconnection.cpp 2009-10-10 18:39:55 UTC (rev 11792)
+++ trunk/qgis/src/app/ogr/qgsnewogrconnection.cpp 2009-10-10 20:08:31 UTC (rev 11793)
@@ -84,7 +84,7 @@
poDS = OGROpen( QFile::encodeName( uri ).constData(), FALSE, &pahDriver );
if ( poDS == NULL )
{
- QMessageBox::information( this, tr( "Test connection" ), tr( "Connection failed - Check settings and try again.\n\nExtended error information:\n%1" ).arg( CPLGetLastErrorMsg() ) );
+ QMessageBox::information( this, tr( "Test connection" ), tr( "Connection failed - Check settings and try again.\n\nExtended error information:\n%1" ).arg( QString::fromUtf8( CPLGetLastErrorMsg() ) ) );
}
else
{
More information about the QGIS-commit
mailing list