summaryrefslogtreecommitdiffstats
path: root/examples/webkit/fancybrowser
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2009-08-05 16:07:23 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-08-31 16:33:34 (GMT)
commit2c20b446abfef16f3852aa90c791c9f51210869f (patch)
treef4a12534cdee3f3139a4abf24fc173d767b79596 /examples/webkit/fancybrowser
parentaecf60446a0b7f02c3728b0f653ab04f1f45d11c (diff)
downloadQt-2c20b446abfef16f3852aa90c791c9f51210869f.zip
Qt-2c20b446abfef16f3852aa90c791c9f51210869f.tar.gz
Qt-2c20b446abfef16f3852aa90c791c9f51210869f.tar.bz2
Use system-wide proxy settings
Diffstat (limited to 'examples/webkit/fancybrowser')
-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"));