summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/webkit/fancybrowser/mainwindow.cpp2
-rw-r--r--examples/webkit/googlechat/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/webkit/fancybrowser/mainwindow.cpp b/examples/webkit/fancybrowser/mainwindow.cpp
index 2adfa20..a3293b8 100644
--- a/examples/webkit/fancybrowser/mainwindow.cpp
+++ b/examples/webkit/fancybrowser/mainwindow.cpp
@@ -56,7 +56,7 @@ MainWindow::MainWindow()
file.close();
//! [1]
- QNetworkProxyFactory::setUseSystemConfigurationEnabled(true);
+ QNetworkProxyFactory::setUseSystemConfiguration(true);
//! [2]
view = new QWebView(this);
diff --git a/examples/webkit/googlechat/main.cpp b/examples/webkit/googlechat/main.cpp
index fd08114..6b5e11f 100644
--- a/examples/webkit/googlechat/main.cpp
+++ b/examples/webkit/googlechat/main.cpp
@@ -47,7 +47,7 @@ int main(int argc, char * argv[])
{
QApplication app(argc, argv);
- QNetworkProxyFactory::setUseSystemConfigurationEnabled(true);
+ QNetworkProxyFactory::setUseSystemConfiguration(true);
GoogleChat *chat = new GoogleChat;
chat->show();