X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=http_fetcher.cpp;h=2d1d030f1dab9e3ae9e3d2f50f2c8cbcf8366329;hb=76c4d7987cc699a60491a786dd66d81c2b0ce31e;hp=a518e9ffcfc527c638039b4d84fb642c83f69565;hpb=39d019b3778ff4027f41e356fb6956e1a13bdca1;p=yandex-traffic diff --git a/http_fetcher.cpp b/http_fetcher.cpp index a518e9f..2d1d030 100644 --- a/http_fetcher.cpp +++ b/http_fetcher.cpp @@ -2,8 +2,6 @@ #include #include "http_fetcher.hpp" -#include "connection.hpp" -#include "globals.hpp" // -------------------------------------------------- // HttpFetcher @@ -25,11 +23,10 @@ void HttpFetcher::fetch (const QString& url) { QUrl u (url); - if (!CHECK_FOR_CONNECTION || ConnectionChecker::instance ()->isConnected ()) - if (u.isValid ()) { - _http.setHost (u.host ()); - _http.get (u.encodedPath (), &_buffer); - } + if (u.isValid ()) { + _http.setHost (u.host ()); + _http.get (u.encodedPath (), &_buffer); + } }