mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Fix 'append label to save path' with magnet links.
This commit is contained in:
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user