Fix compilation warning

This commit is contained in:
Christophe Dumez 2010-08-22 18:11:19 +00:00
parent 8c001aa478
commit ee30a75b57

View file

@ -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");
} }