X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=http_fetcher.cpp;h=2d1d030f1dab9e3ae9e3d2f50f2c8cbcf8366329;hb=50e940aa2923af3c882bcaaa1f2bc6f890ff75d1;hp=a518e9ffcfc527c638039b4d84fb642c83f69565;hpb=7aa320e48ab4896be05a1f4468329fb33cd6ad7b;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); + } }