summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-12-04 01:56:01 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-12-04 01:56:01 (GMT)
commit261c8600253ad17f41c3b4830b9086a8a034fa4a (patch)
treecbce858351b9f01fb7e7d1f1cfa05ebea6e45f7c /src
parentdd0959ed872bf0cda7ad88382abce0c4b20bbdea (diff)
downloadQt-261c8600253ad17f41c3b4830b9086a8a034fa4a.zip
Qt-261c8600253ad17f41c3b4830b9086a8a034fa4a.tar.gz
Qt-261c8600253ad17f41c3b4830b9086a8a034fa4a.tar.bz2
Make SQL work on Symbian
Diffstat (limited to 'src')
-rw-r--r--src/declarative/qml/qmlengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlengine.cpp b/src/declarative/qml/qmlengine.cpp
index 0e24fd2..df8383e 100644
--- a/src/declarative/qml/qmlengine.cpp
+++ b/src/declarative/qml/qmlengine.cpp
@@ -121,7 +121,7 @@ QmlEnginePrivate::QmlEnginePrivate(QmlEngine *e)
scriptEngine.newQMetaObject(StaticQtMetaObject::get());
scriptEngine.globalObject().setProperty(QLatin1String("Qt"), qtObject);
- offlineStoragePath = QDesktopServices::storageLocation(QDesktopServices::DataLocation)
+ offlineStoragePath = QDesktopServices::storageLocation(QDesktopServices::DataLocation).replace('/', QDir::separator())
+ QDir::separator() + QLatin1String("QML")
+ QDir::separator() + QLatin1String("OfflineStorage");
qt_add_qmlxmlhttprequest(&scriptEngine);