mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 11:49:01 +03:00
Fix compilation warning
This commit is contained in:
parent
8c001aa478
commit
ee30a75b57
1 changed files with 1 additions and 1 deletions
|
@ -833,7 +833,7 @@ QTorrentHandle Bittorrent::addMagnetUri(QString magnet_uri, bool resumed) {
|
||||||
qDebug("Resuming magnet URI: %s", qPrintable(hash));
|
qDebug("Resuming magnet URI: %s", qPrintable(hash));
|
||||||
// Load metadata
|
// Load metadata
|
||||||
if(QFile::exists(torrentBackup.path()+QDir::separator()+hash+QString(".torrent")))
|
if(QFile::exists(torrentBackup.path()+QDir::separator()+hash+QString(".torrent")))
|
||||||
return addTorrent(torrentBackup.path()+QDir::separator()+hash+QString(".torrent"), false, false, true);
|
return addTorrent(torrentBackup.path()+QDir::separator()+hash+QString(".torrent"), false, QString(), true);
|
||||||
} else {
|
} else {
|
||||||
qDebug("Adding new magnet URI");
|
qDebug("Adding new magnet URI");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue