mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
- BUGFIX: Display real save path instead of the temporary one in torrent pro
perties
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
* Unknown - Christophe Dumez <chris@qbittorrent.org> - 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 <chris@qbittorrent.org> - v1.4.0
|
||||
- FEATURE: Display swarm information in lists
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user