diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-09-21 10:45:56 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-09-21 10:46:27 (GMT) |
commit | da405d8e1418fd5b7b78fb7a7f8930aefc74f40d (patch) | |
tree | 83b477255255442a7def934bfc94c90ee958b63e | |
parent | b0016ea9a6b225757e3ee06b50e8f7d05463ddf7 (diff) | |
download | Qt-da405d8e1418fd5b7b78fb7a7f8930aefc74f40d.zip Qt-da405d8e1418fd5b7b78fb7a7f8930aefc74f40d.tar.gz Qt-da405d8e1418fd5b7b78fb7a7f8930aefc74f40d.tar.bz2 |
Demo browser: Enable DNS prefetching
Reviewed-by: TrustMe
-rw-r--r-- | demos/browser/browserapplication.cpp | 2 |
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(); } |