multithreading for all but windoze

master
Marc Wäckerlin 15 years ago
parent 56e2746895
commit 3035cc27b1
  1. 8
      proxyface/autoproxy.hxx

@ -213,10 +213,12 @@ namespace proxy {
" try autoproxy negotiation"; " try autoproxy negotiation";
_direct = false; _direct = false;
_url = url; _url = url;
/****BUGFIX****/ #ifdef Q_OS_WIN32
_proxies = proxies(_url); _proxies = proxies(_url); // M$ cannot always do multithreading
threadFinished(); threadFinished();
//start(); // autoproxy detection in own thread #else
start(); // autoproxy detection in own thread
#endif
} else { } else {
qDebug()<<"No proxy at all, giving up - offline?"; qDebug()<<"No proxy at all, giving up - offline?";
proxyError(QNetworkReply::TimeoutError); proxyError(QNetworkReply::TimeoutError);

Loading…
Cancel
Save