mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Fix magnet link support
This commit is contained in:
parent
bc89845523
commit
6c9e7156f7
1 changed files with 1 additions and 1 deletions
|
@ -842,7 +842,7 @@ QTorrentHandle Bittorrent::addMagnetUri(QString magnet_uri, bool resumed) {
|
||||||
}
|
}
|
||||||
QString label = TorrentTempData::getLabel(hash);
|
QString label = TorrentTempData::getLabel(hash);
|
||||||
// Save persistent data for new torrent
|
// Save persistent data for new torrent
|
||||||
TorrentPersistentData::saveTorrentPersistentData(h);
|
TorrentPersistentData::saveTorrentPersistentData(h, true);
|
||||||
// Save Label
|
// Save Label
|
||||||
if(!label.isEmpty()) {
|
if(!label.isEmpty()) {
|
||||||
TorrentPersistentData::saveLabel(hash, label);
|
TorrentPersistentData::saveLabel(hash, label);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue