multithreading for all but windoze
This commit is contained in:
		| @@ -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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user