diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-09-21 12:45:56 +0200 |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-09-21 12:46:27 +0200 |
commit | da405d8e1418fd5b7b78fb7a7f8930aefc74f40d (patch) | |
tree | 83b477255255442a7def934bfc94c90ee958b63e | |
parent | b0016ea9a6b225757e3ee06b50e8f7d05463ddf7 (diff) | |
download | qt4-tools-da405d8e1418fd5b7b78fb7a7f8930aefc74f40d.tar.gz |
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 9143713045..0256f8ae42 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(); } |