diff --git a/src/webui/html/upload.html b/src/webui/html/upload.html
index 2140f181f..f00f48bfc 100644
--- a/src/webui/html/upload.html
+++ b/src/webui/html/upload.html
@@ -7,31 +7,30 @@
diff --git a/src/webui/httpconnection.cpp b/src/webui/httpconnection.cpp
index 308b1cc0b..7f7afd7c9 100644
--- a/src/webui/httpconnection.cpp
+++ b/src/webui/httpconnection.cpp
@@ -285,7 +285,7 @@ void HttpConnection::respond() {
}
// Icons from theme
- qDebug() << "list[0]" << list[0];
+ //qDebug() << "list[0]" << list[0];
if (list[0] == "theme" && list.size() == 2) {
#ifdef DISABLE_GUI
url = ":/Icons/oxygen/"+list[1]+".png";
@@ -381,6 +381,7 @@ void HttpConnection::respondGlobalTransferInfoJson() {
}
void HttpConnection::respondCommand(const QString& command) {
+ qDebug() << Q_FUNC_INFO << command;
if (command == "download") {
QString urls = m_parser.post("urls");
QStringList list = urls.split('\n');
@@ -422,7 +423,7 @@ void HttpConnection::respondCommand(const QString& command) {
const QList& torrents = m_parser.torrents();
foreach(const QByteArray& torrentContent, torrents) {
// Get a unique filename
- QTemporaryFile *tmpfile = new QTemporaryFile (QDir::temp().absoluteFilePath("qBT-XXXXXX.torrent"));
+ QTemporaryFile *tmpfile = new QTemporaryFile(QDir::temp().absoluteFilePath("qBT-XXXXXX.torrent"));
tmpfile->setAutoRemove(false);
if (tmpfile->open()) {
QString filePath = tmpfile->fileName();