Browse Source

Added comment

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
74718bc568
  1. 2
      src/webui/httpconnection.cpp

2
src/webui/httpconnection.cpp

@ -389,6 +389,8 @@ void HttpConnection::respondCommand(QString command) @@ -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()) {

Loading…
Cancel
Save