summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();
}