diff options
author | David Faure <faure@kde.org> | 2009-08-05 16:07:23 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-31 16:33:34 (GMT) |
commit | 2c20b446abfef16f3852aa90c791c9f51210869f (patch) | |
tree | f4a12534cdee3f3139a4abf24fc173d767b79596 /examples/webkit/googlechat | |
parent | aecf60446a0b7f02c3728b0f653ab04f1f45d11c (diff) | |
download | Qt-2c20b446abfef16f3852aa90c791c9f51210869f.zip Qt-2c20b446abfef16f3852aa90c791c9f51210869f.tar.gz Qt-2c20b446abfef16f3852aa90c791c9f51210869f.tar.bz2 |
Use system-wide proxy settings
Diffstat (limited to 'examples/webkit/googlechat')
-rw-r--r-- | examples/webkit/googlechat/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/webkit/googlechat/main.cpp b/examples/webkit/googlechat/main.cpp index 31937ee..09d94ef 100644 --- a/examples/webkit/googlechat/main.cpp +++ b/examples/webkit/googlechat/main.cpp @@ -40,11 +40,15 @@ ****************************************************************************/ #include <QtGui> +#include <QNetworkProxyFactory> #include "googlechat.h" int main(int argc, char * argv[]) { QApplication app(argc, argv); + + QNetworkProxyFactory::setUseSystemConfigurationEnabled(true); + GoogleChat *chat = new GoogleChat; chat->show(); return app.exec(); |