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";
_direct = false;
_url = url;
/****BUGFIX****/
_proxies = proxies(_url);
#ifdef Q_OS_WIN32
_proxies = proxies(_url); // M$ cannot always do multithreading
threadFinished();
//start(); // autoproxy detection in own thread
#else
start(); // autoproxy detection in own thread
#endif
} else {
qDebug()<<"No proxy at all, giving up - offline?";
proxyError(QNetworkReply::TimeoutError);