summaryrefslogtreecommitdiffstats
path: root/examples/webkit/fancybrowser/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webkit/fancybrowser/mainwindow.cpp')
-rw-r--r--examples/webkit/fancybrowser/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/webkit/fancybrowser/mainwindow.cpp b/examples/webkit/fancybrowser/mainwindow.cpp
index ecca36b..06b1e30 100644
--- a/examples/webkit/fancybrowser/mainwindow.cpp
+++ b/examples/webkit/fancybrowser/mainwindow.cpp
@@ -56,6 +56,8 @@ MainWindow::MainWindow()
file.close();
//! [1]
+ QNetworkProxyFactory::setUseSystemConfigurationEnabled(true);
+
//! [2]
view = new QWebView(this);
view->load(QUrl("http://www.google.com/ncr"));