From 74718bc568386529bde312e2d403caf4de7f72a8 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 22 Feb 2011 18:37:56 +0000 Subject: [PATCH] Added comment --- src/webui/httpconnection.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/webui/httpconnection.cpp b/src/webui/httpconnection.cpp index a5af92d6c..662a2ff2e 100644 --- a/src/webui/httpconnection.cpp +++ b/src/webui/httpconnection.cpp @@ -389,6 +389,8 @@ void HttpConnection::respondCommand(QString command) QByteArray torrentfile = parser.torrent(); // Get a unique filename QString filePath; + // XXX: We need to use a QTemporaryFile pointer here + // and it fails on Windows QTemporaryFile *tmpfile = new QTemporaryFile; tmpfile->setAutoRemove(false); if (tmpfile->open()) {