[QGIS Commit] r8347 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sun Apr 13 13:15:05 EDT 2008
Author: jef
Date: 2008-04-13 13:15:04 -0400 (Sun, 13 Apr 2008)
New Revision: 8347
Modified:
trunk/qgis/src/app/qgsdbsourceselect.cpp
Log:
fix i18n part of #1039
Modified: trunk/qgis/src/app/qgsdbsourceselect.cpp
===================================================================
--- trunk/qgis/src/app/qgsdbsourceselect.cpp 2008-04-13 11:37:37 UTC (rev 8346)
+++ trunk/qgis/src/app/qgsdbsourceselect.cpp 2008-04-13 17:15:04 UTC (rev 8347)
@@ -433,7 +433,7 @@
QMessageBox::warning(this, tr("Connection failed"),
tr
("Connection to %1 on %2 failed. Either the database is down or your settings are incorrect.%3Check your username and password and try again.%4The database said:%5%6").
- arg(settings.readEntry(key + "/database")).arg(settings.readEntry(key + "/host")).arg("\n\n").arg("\n\n").arg("\n").arg(QString::fromLocal8Bit(PQerrorMessage(pd))));
+ arg(settings.readEntry(key + "/database")).arg(settings.readEntry(key + "/host")).arg("\n\n").arg("\n\n").arg("\n").arg(QString::fromUtf8(PQerrorMessage(pd))));
}
}
More information about the QGIS-commit
mailing list