background images half-work; the url is hardcoded for now.

This commit is contained in:
Chani Armitage
2010-06-24 12:51:54 -07:00
parent e967b2ce1e
commit ef15f91c6b
2 changed files with 15 additions and 2 deletions
+2 -2
View File
@@ -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);
}