[QGIS Commit] r12383 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Dec 9 07:17:33 EST 2009


Author: borysiasty
Date: 2009-12-09 07:17:32 -0500 (Wed, 09 Dec 2009)
New Revision: 12383

Modified:
   trunk/qgis/src/app/qgsnewconnection.cpp
Log:
fix #2223. Patch from Alex Bruy

Modified: trunk/qgis/src/app/qgsnewconnection.cpp
===================================================================
--- trunk/qgis/src/app/qgsnewconnection.cpp	2009-12-09 10:26:52 UTC (rev 12382)
+++ trunk/qgis/src/app/qgsnewconnection.cpp	2009-12-09 12:17:32 UTC (rev 12383)
@@ -117,7 +117,7 @@
   }
   else
   {
-    QMessageBox::information( this, tr( "Test connection" ), tr( "Connection failed - Check settings and try again.\n\nExtended error information:\n%1" ).arg( PQerrorMessage( pd ) ) );
+    QMessageBox::information( this, tr( "Test connection" ), tr( "Connection failed - Check settings and try again.\n\nExtended error information:\n%1" ).arg( QString::fromUtf8( PQerrorMessage( pd ) ) ) );
   }
   // free pg connection resources
   PQfinish( pd );



More information about the QGIS-commit mailing list