mirror of
https://github.com/webodf/WebODF.git
synced 2026-11-30 16:47:58 +01:00
background images half-work; the url is hardcoded for now.
This commit is contained in:
@@ -48,8 +48,8 @@ public:
|
||||
|| fileinfo.dir() != dir) {
|
||||
// changing the url seems to be the only easy way to deny
|
||||
// requests
|
||||
qDebug() << "deny " << req.url();
|
||||
r.setUrl(QUrl("error:not-allowed"));
|
||||
qDebug() << "undeny " << req.url();
|
||||
//r.setUrl(QUrl("error:not-allowed"));
|
||||
}
|
||||
return QNetworkAccessManager::createRequest(op, r, data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user