mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Fix 'append label to save path' with magnet links.
This commit is contained in:
parent
a4ab14e6d0
commit
01f253b24a
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue