summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-09-21 10:45:56 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-09-21 10:46:27 (GMT)
commitda405d8e1418fd5b7b78fb7a7f8930aefc74f40d (patch)
tree83b477255255442a7def934bfc94c90ee958b63e /demos
parentb0016ea9a6b225757e3ee06b50e8f7d05463ddf7 (diff)
downloadQt-da405d8e1418fd5b7b78fb7a7f8930aefc74f40d.zip
Qt-da405d8e1418fd5b7b78fb7a7f8930aefc74f40d.tar.gz
Qt-da405d8e1418fd5b7b78fb7a7f8930aefc74f40d.tar.bz2
Demo browser: Enable DNS prefetching
Reviewed-by: TrustMe
Diffstat (limited to 'demos')
-rw-r--r--demos/browser/browserapplication.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/browser/browserapplication.cpp b/demos/browser/browserapplication.cpp
index 9143713..0256f8a 100644
--- a/demos/browser/browserapplication.cpp
+++ b/demos/browser/browserapplication.cpp
@@ -248,6 +248,8 @@ void BrowserApplication::loadSettings()
QUrl url = settings.value(QLatin1String("userStyleSheet")).toUrl();
defaultSettings->setUserStyleSheetUrl(url);
+ defaultSettings->setAttribute(QWebSettings::DnsPrefetchEnabled, true);
+
settings.endGroup();
}