use a normal QNetworkAccessManager in case of plasmapackage:/
svn path=/trunk/KDE/kdebase/runtime/; revision=1189297
This commit is contained in:
parent
be83c17415
commit
2e374dbd8c
@ -68,7 +68,7 @@ QNetworkReply *PackageAccessManager::createRequest(QNetworkAccessManager::Operat
|
||||
reqUrl.setScheme("file");
|
||||
reqUrl.setPath(m_package->path()+"/contents/"+reqUrl.path());
|
||||
request.setUrl(reqUrl);
|
||||
return KIO::AccessManager::createRequest(op, request, outgoingData);
|
||||
return QNetworkAccessManager::createRequest(op, request, outgoingData);
|
||||
} else if ((reqUrl.scheme() == "http" && !m_auth->authorizeRequiredExtension("http")) ||
|
||||
((reqUrl.scheme() == "file" || reqUrl.scheme() == "desktop") && !m_auth->authorizeRequiredExtension("localio")) ||
|
||||
(!m_auth->authorizeRequiredExtension("networkio"))) {
|
||||
|
Loading…
Reference in New Issue
Block a user