mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
Added comment
This commit is contained in:
parent
217937217d
commit
74718bc568
1 changed files with 2 additions and 0 deletions
|
@ -389,6 +389,8 @@ void HttpConnection::respondCommand(QString command)
|
||||||
QByteArray torrentfile = parser.torrent();
|
QByteArray torrentfile = parser.torrent();
|
||||||
// Get a unique filename
|
// Get a unique filename
|
||||||
QString filePath;
|
QString filePath;
|
||||||
|
// XXX: We need to use a QTemporaryFile pointer here
|
||||||
|
// and it fails on Windows
|
||||||
QTemporaryFile *tmpfile = new QTemporaryFile;
|
QTemporaryFile *tmpfile = new QTemporaryFile;
|
||||||
tmpfile->setAutoRemove(false);
|
tmpfile->setAutoRemove(false);
|
||||||
if (tmpfile->open()) {
|
if (tmpfile->open()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue