Browse Source

Fix compilation warning

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
ee30a75b57
  1. 2
      src/bittorrent.cpp

2
src/bittorrent.cpp

@ -833,7 +833,7 @@ QTorrentHandle Bittorrent::addMagnetUri(QString magnet_uri, bool resumed) { @@ -833,7 +833,7 @@ QTorrentHandle Bittorrent::addMagnetUri(QString magnet_uri, bool resumed) {
qDebug("Resuming magnet URI: %s", qPrintable(hash));
// Load metadata
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 {
qDebug("Adding new magnet URI");
}

Loading…
Cancel
Save