Fix web UI in qBittorrent nox

This commit is contained in:
Christophe Dumez
2010-06-17 11:49:13 +00:00
parent 54f1294ef5
commit 1603faf873
2 changed files with 21 additions and 15 deletions

View File

@@ -237,6 +237,7 @@ void HttpConnection::respond() {
QFile file(url);
if(!file.open(QIODevice::ReadOnly))
{
qDebug("File %s was not found!", qPrintable(url));
respondNotFound();
return;
}