Browse Source

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

adaptive-webui-19844
sledgehammer999 11 years ago
parent
commit
27d72bd9bf
  1. 2
      src/qtlibtorrent/qbtsession.cpp

2
src/qtlibtorrent/qbtsession.cpp

@ -2833,7 +2833,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()) {

Loading…
Cancel
Save