summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2009-09-16 13:51:35 (GMT)
committerErik Verbruggen <erik.verbruggen@nokia.com>2009-09-16 13:51:35 (GMT)
commit90a04b8c22e1a5c2ac559bf09547a94e31388d28 (patch)
tree8bb301f0ad6fcb95c533e6ab72129cdde673ed25 /src/declarative/qml
parent98da50b3d081cdf0e900cd6dbf9b8cf1053c73dd (diff)
downloadQt-90a04b8c22e1a5c2ac559bf09547a94e31388d28.zip
Qt-90a04b8c22e1a5c2ac559bf09547a94e31388d28.tar.gz
Qt-90a04b8c22e1a5c2ac559bf09547a94e31388d28.tar.bz2
Changed the use of QString::utf8() to QString::toUtf8() to make it
compile without QT3_SUPPORT.
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qmlsqldatabase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlsqldatabase.cpp b/src/declarative/qml/qmlsqldatabase.cpp
index 33538d2..e4373d0 100644
--- a/src/declarative/qml/qmlsqldatabase.cpp
+++ b/src/declarative/qml/qmlsqldatabase.cpp
@@ -266,8 +266,8 @@ static QScriptValue qmlsqldatabase_open(QScriptContext *context, QScriptEngine *
int dbestimatedsize = context->argument(3).toNumber();
QCryptographicHash md5(QCryptographicHash::Md5);
- md5.addData(dbname.utf8());
- md5.addData(dbversion.utf8());
+ md5.addData(dbname.toUtf8());
+ md5.addData(dbversion.toUtf8());
QString dbid(QLatin1String(md5.result().toHex()));
// Uses SQLLITE (like HTML5), but any could be used.