Skip to content

Commit f7d22f0

Browse files
author
jef
committedOct 10, 2009
might fix the output of OGR error messages on windows
git-svn-id: http://svn.osgeo.org/qgis/trunk@11793 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent e117f68 commit f7d22f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/ogr/qgsnewogrconnection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void QgsNewOgrConnection::testConnection()
8484
poDS = OGROpen( QFile::encodeName( uri ).constData(), FALSE, &pahDriver );
8585
if ( poDS == NULL )
8686
{
87-
QMessageBox::information( this, tr( "Test connection" ), tr( "Connection failed - Check settings and try again.\n\nExtended error information:\n%1" ).arg( CPLGetLastErrorMsg() ) );
87+
QMessageBox::information( this, tr( "Test connection" ), tr( "Connection failed - Check settings and try again.\n\nExtended error information:\n%1" ).arg( QString::fromUtf8( CPLGetLastErrorMsg() ) ) );
8888
}
8989
else
9090
{

0 commit comments

Comments
 (0)
Please sign in to comment.