summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-10-26 18:24:13 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-26 18:25:04 (GMT)
commitb5efa250a6706821cf9969752a8fd063d1f206d6 (patch)
treea16d518eb9ea38cd0ecd5f7f03859b8a0ad6d631 /tests
parent83aa359398a8a510ac732410c918d31eedeeb4f8 (diff)
downloadQt-b5efa250a6706821cf9969752a8fd063d1f206d6.zip
Qt-b5efa250a6706821cf9969752a8fd063d1f206d6.tar.gz
Qt-b5efa250a6706821cf9969752a8fd063d1f206d6.tar.bz2
Autotest: fix building tst_qsqlquery.
'का' is not valid, since it encodes to more than 1 byte. Reviewed-by: Trust Me
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qsqlquery/tst_qsqlquery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qsqlquery/tst_qsqlquery.cpp b/tests/auto/qsqlquery/tst_qsqlquery.cpp
index 8fe6f2e..a9b522f 100644
--- a/tests/auto/qsqlquery/tst_qsqlquery.cpp
+++ b/tests/auto/qsqlquery/tst_qsqlquery.cpp
@@ -396,7 +396,7 @@ void tst_QSqlQuery::char1SelectUnicode()
QSKIP("Needs someone with more Unicode knowledge than I have to fix", SkipSingle);
if ( db.driver()->hasFeature( QSqlDriver::Unicode ) ) {
- QString uniStr( QChar( 'का' ) );
+ QString uniStr( QChar(0x0915) ); // DEVANAGARI LETTER KA
QSqlQuery q( db );
if ( db.driverName().startsWith( "QMYSQL" ) && tst_Databases::getMySqlVersion( db ).section( QChar('.'), 0, 0 ).toInt()<5 )