Fix 'append label to save path' with magnet links.

This commit is contained in:
sledgehammer999 2013-10-23 23:58:17 +03:00
commit 01f253b24a

View file

@ -2991,7 +2991,7 @@ void QBtSession::backupPersistentData(const QString &hash, boost::shared_ptr<lib
void QBtSession::unhideMagnet(const QString &hash) { void QBtSession::unhideMagnet(const QString &hash) {
Preferences pref; Preferences pref;
HiddenData::deleteData(hash); HiddenData::deleteData(hash);
QString save_path = TorrentTempData::getSavePath(hash); QString save_path = getSavePath(hash, false); //appends label if necessary
QTorrentHandle h(getTorrentHandle(hash)); QTorrentHandle h(getTorrentHandle(hash));
if (!h.is_valid()) { if (!h.is_valid()) {