mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
Do not create the torrent root folder at the destination if the torrent is in temp dir
This commit is contained in:
parent
9c9944715a
commit
b7ec18e4f1
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ public:
|
|||
// Save persistent data
|
||||
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent-resume"));
|
||||
QHash<QString, QVariant> all_data = settings.value("torrents").toHash();
|
||||
QHash<QString, QVariant> data;
|
||||
QHash<QString, QVariant> data = all_data.value(h.hash()).toHash();
|
||||
data["is_magnet"] = is_magnet;
|
||||
if(is_magnet) {
|
||||
data["magnet_uri"] = misc::toQString(make_magnet_uri(h));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue