From 9b40a036a712a7183ccbe9974897d86b3916233c Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 19 Jan 2010 23:48:04 +0000 Subject: [PATCH] BUGFIX: Torrent added from magnet links were not remembered on restart --- Changelog | 1 + src/bittorrent.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 09053baaa..7de348053 100644 --- a/Changelog +++ b/Changelog @@ -4,6 +4,7 @@ - BUGFIX: Fix folder renaming in a torrent (would rename children under certain conditions) - BUGFIX: Nox version no longer requires libQtXml - BUGFIX: Configure file now checks for pkg-config executable which is required + - BUGFIX: Torrents added from magnet links were not remembered on restart * Mon Jan 18 2010 - Christophe Dumez - v2.1.0 - FEATURE: Graphical User Interface can be disabled at compilation time (headless running) diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index 5c6977c50..1bdd7c594 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -842,7 +842,7 @@ QTorrentHandle Bittorrent::addMagnetUri(QString magnet_uri, bool resumed) { } QString label = TorrentTempData::getLabel(hash); // Save persistent data for new torrent - TorrentPersistentData::saveTorrentPersistentData(h); + TorrentPersistentData::saveTorrentPersistentData(h, true); // Save Label if(!label.isEmpty()) { TorrentPersistentData::saveLabel(hash, label);