WebUI: Add charset attribute to text content types.

This commit is contained in:
Vladimir Golovnev (Glassez)
2014-11-05 20:11:10 +03:00
parent 7b7f88ae4f
commit d85c3170b2
3 changed files with 6 additions and 6 deletions

View File

@@ -268,7 +268,7 @@ void RequestHandler::action_command_upload()
{
qWarning() << "I/O Error: Could not create temporary file";
status(500, "Internal Server Error");
print(QByteArray("I/O Error: Could not create temporary file."), CONTENT_TYPE_TXT);
print(QObject::tr("I/O Error: Could not create temporary file."), CONTENT_TYPE_TXT);
}
}
}