- Fix several issues with the files properties in Web UI (introduced recently)

This commit is contained in:
Christophe Dumez 2009-12-29 20:26:32 +00:00
parent b5a9fe71e1
commit ed13c43e93
3 changed files with 5 additions and 4 deletions

View file

@ -193,7 +193,7 @@ void HttpConnection::respond()
else
list.prepend("webui");
url = ":/" + list.join("/");
qDebug("Resource URL: %s", url.toLocal8Bit().data());
//qDebug("Resource URL: %s", url.toLocal8Bit().data());
QFile file(url);
if(!file.open(QIODevice::ReadOnly))
{
@ -258,6 +258,7 @@ void HttpConnection::respondFilesPropertiesJson(QString hash) {
generator.setStatusLine(200, "OK");
generator.setContentTypeByExt("js");
generator.setMessage(string);
//qDebug("JSON: %s", string.toLocal8Bit().data());
write();
}