summaryrefslogtreecommitdiffstats
path: root/examples/xml/rsslisting/main.cpp
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@nokia.com>2010-09-24 09:47:36 (GMT)
committerPeter Hartmann <peter.hartmann@nokia.com>2010-09-24 13:09:16 (GMT)
commit15ddcea2d15b7d7731e24151b0a30990e77efe74 (patch)
treeb8e7d1de443c53cd549b4db9dffeb4cf9ab70973 /examples/xml/rsslisting/main.cpp
parentf61d2d16310aa0a87ec1ba823f903f19575aed7c (diff)
downloadQt-15ddcea2d15b7d7731e24151b0a30990e77efe74.zip
Qt-15ddcea2d15b7d7731e24151b0a30990e77efe74.tar.gz
Qt-15ddcea2d15b7d7731e24151b0a30990e77efe74.tar.bz2
fix RSS listing example
... by handling HTTP 30X responses and using QNetworkAccessManager instead of QHttp. The server now sends back a HTTP 302 instead of a 200. Reviewed-by: Markus Goetz Task-number: QTBUG-13892
Diffstat (limited to 'examples/xml/rsslisting/main.cpp')
-rw-r--r--examples/xml/rsslisting/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/xml/rsslisting/main.cpp b/examples/xml/rsslisting/main.cpp
index 95c8a89..71ae0eb 100644
--- a/examples/xml/rsslisting/main.cpp
+++ b/examples/xml/rsslisting/main.cpp
@@ -57,7 +57,6 @@ Provides the main function for the RSS news reader example.
int main(int argc, char **argv)
{
QApplication app(argc, argv);
- qWarning("The usage of QHttp is not recommended anymore, please use QNetworkAccessManager.");
RSSListing *rsslisting = new RSSListing;
rsslisting->show();
return app.exec();