mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06:00
Added comment
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user