summaryrefslogtreecommitdiffstats
path: root/examples/network/http/main.cpp
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-08-24 13:05:41 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-08-24 13:05:41 (GMT)
commita70b513ee0d56016c5ed3e0709d4f994c0881baf (patch)
treeb33f4ab345a2d622240c0babf86e6662a319aacb /examples/network/http/main.cpp
parentd09a2d662080e1b1d2c53cc64a42bb5fa7e63745 (diff)
downloadQt-a70b513ee0d56016c5ed3e0709d4f994c0881baf.zip
Qt-a70b513ee0d56016c5ed3e0709d4f994c0881baf.tar.gz
Qt-a70b513ee0d56016c5ed3e0709d4f994c0881baf.tar.bz2
Examples: Warn about usage of QHttp
This is an intermediate solution until the examples have been ported to using QNetworkAccessManager. Reviewed-by: TrustMe
Diffstat (limited to 'examples/network/http/main.cpp')
-rw-r--r--examples/network/http/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/network/http/main.cpp b/examples/network/http/main.cpp
index f1b7cda..6d10fad 100644
--- a/examples/network/http/main.cpp
+++ b/examples/network/http/main.cpp
@@ -46,6 +46,7 @@
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
+ qWarning("The usage of QHttp is not recommended anymore, please use QNetworkAccessManager.");
HttpWindow httpWin;
httpWin.show();
return httpWin.exec();