mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-05 15:12:32 -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
|
* Unknown - Christophe Dumez <chris@qbittorrent.org> - v1.4.1
|
||||||
- BUGFIX: Fix problems when changing save path (if using temporary download folder)
|
- 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
|
* Thu Aug 13 2009 - Christophe Dumez <chris@qbittorrent.org> - v1.4.0
|
||||||
- FEATURE: Display swarm information in lists
|
- FEATURE: Display swarm information in lists
|
||||||
|
|||||||
@@ -77,9 +77,6 @@ class bittorrent : public QObject {
|
|||||||
bool queueingEnabled;
|
bool queueingEnabled;
|
||||||
QStringList url_skippingDlg;
|
QStringList url_skippingDlg;
|
||||||
|
|
||||||
protected:
|
|
||||||
QString getSavePath(QString hash);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Constructor / Destructor
|
// Constructor / Destructor
|
||||||
bittorrent();
|
bittorrent();
|
||||||
@@ -108,6 +105,7 @@ class bittorrent : public QObject {
|
|||||||
QStringList getPeerBanMessages() const;
|
QStringList getPeerBanMessages() const;
|
||||||
qlonglong getETA(QString hash) const;
|
qlonglong getETA(QString hash) const;
|
||||||
bool useTemporaryFolder() const;
|
bool useTemporaryFolder() const;
|
||||||
|
QString getSavePath(QString hash);
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
QTorrentHandle addTorrent(QString path, bool fromScanDir = false, QString from_url = QString(), bool resumed = false);
|
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
|
// get Infos from torrent handle
|
||||||
fileName->setText(h.name());
|
fileName->setText(h.name());
|
||||||
// Torrent Infos
|
// Torrent Infos
|
||||||
save_path->setText(h.save_path());
|
save_path->setText(BTSession->getSavePath(hash));
|
||||||
QString author = h.creator().trimmed();
|
QString author = h.creator().trimmed();
|
||||||
if(author.isEmpty())
|
if(author.isEmpty())
|
||||||
author = tr("Unknown");
|
author = tr("Unknown");
|
||||||
|
|||||||
Reference in New Issue
Block a user