diff --git a/Changelog b/Changelog index 63db43b6d..4ea93f902 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,6 @@ * Unknown - Christophe Dumez - v1.4.1 - BUGFIX: Fix problems when changing save path (if using temporary download folder) + - BUGFIX: Display real save path instead of the temporary one in torrent properties * Thu Aug 13 2009 - Christophe Dumez - v1.4.0 - FEATURE: Display swarm information in lists diff --git a/src/bittorrent.h b/src/bittorrent.h index 7d887efe2..4650ce8c5 100644 --- a/src/bittorrent.h +++ b/src/bittorrent.h @@ -77,9 +77,6 @@ class bittorrent : public QObject { bool queueingEnabled; QStringList url_skippingDlg; - protected: - QString getSavePath(QString hash); - public: // Constructor / Destructor bittorrent(); @@ -108,6 +105,7 @@ class bittorrent : public QObject { QStringList getPeerBanMessages() const; qlonglong getETA(QString hash) const; bool useTemporaryFolder() const; + QString getSavePath(QString hash); public slots: QTorrentHandle addTorrent(QString path, bool fromScanDir = false, QString from_url = QString(), bool resumed = false); diff --git a/src/properties_imp.cpp b/src/properties_imp.cpp index cb35c2d5a..db02286e9 100644 --- a/src/properties_imp.cpp +++ b/src/properties_imp.cpp @@ -86,7 +86,7 @@ properties::properties(QWidget *parent, bittorrent *BTSession, QTorrentHandle &h // get Infos from torrent handle fileName->setText(h.name()); // Torrent Infos - save_path->setText(h.save_path()); + save_path->setText(BTSession->getSavePath(hash)); QString author = h.creator().trimmed(); if(author.isEmpty()) author = tr("Unknown");