summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-07-13 15:08:11 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-07-13 15:08:11 (GMT)
commit8e0121795a784a1bcedfe3108e2aaf77f26eff6f (patch)
tree5635226d6bc8a50b40c52b95a1e3a255c6283504
parent8f65472671406ad5881b119ba32b075b828bbb1a (diff)
downloadQt-8e0121795a784a1bcedfe3108e2aaf77f26eff6f.zip
Qt-8e0121795a784a1bcedfe3108e2aaf77f26eff6f.tar.gz
Qt-8e0121795a784a1bcedfe3108e2aaf77f26eff6f.tar.bz2
Fix initialization of the HTML 5 offline storage.
Place the databases into the normal data location. Reviewed-by: Ariya
-rw-r--r--demos/browser/browserapplication.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/browser/browserapplication.cpp b/demos/browser/browserapplication.cpp
index 5ef3ce6..b27b5c1 100644
--- a/demos/browser/browserapplication.cpp
+++ b/demos/browser/browserapplication.cpp
@@ -205,6 +205,7 @@ void BrowserApplication::postLaunch()
if (directory.isEmpty())
directory = QDir::homePath() + QLatin1String("/.") + QCoreApplication::applicationName();
QWebSettings::setIconDatabasePath(directory);
+ QWebSettings::setOfflineStoragePath(directory);
setWindowIcon(QIcon(QLatin1String(":browser.svg")));