multithreading for all but windoze

This commit is contained in:
Marc Wäckerlin
2009-12-15 08:14:04 +00:00
parent 56e2746895
commit 3035cc27b1

View File

@@ -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);