- BUGFIX: Fix problems when changing save path (if using temporary download folder)

- Bump to v1.4.1
This commit is contained in:
Christophe Dumez
2009-08-15 10:30:10 +00:00
parent 0612fe4c85
commit a91aa92529
7 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
* Unknown - Christophe Dumez <chris@qbittorrent.org> - v1.4.1
- BUGFIX: Fix problems when changing save path (if using temporary download folder)
* Thu Aug 13 2009 - Christophe Dumez <chris@qbittorrent.org> - v1.4.0
- FEATURE: Display swarm information in lists
- FEATURE: Allow to define temporary download folder

View File

@@ -1,6 +1,6 @@
[Desktop Entry]
Categories=Qt;Network;P2P
Comment=V1.4.0
Comment=V1.4.1
Exec=qbittorrent %f
GenericName=Bittorrent client
GenericName[bg]=Торент клиент

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View File

@@ -151,6 +151,10 @@ void bittorrent::setDownloadLimit(QString hash, long val) {
saveTorrentSpeedLimits(hash);
}
bool bittorrent::useTemporaryFolder() const {
return !defaultTempPath.isEmpty();
}
bool bittorrent::isQueueingEnabled() const {
return queueingEnabled;
}

View File

@@ -107,6 +107,7 @@ class bittorrent : public QObject {
QStringList getConsoleMessages() const;
QStringList getPeerBanMessages() const;
qlonglong getETA(QString hash) const;
bool useTemporaryFolder() const;
public slots:
QTorrentHandle addTorrent(QString path, bool fromScanDir = false, QString from_url = QString(), bool resumed = false);

View File

@@ -711,7 +711,8 @@ void properties::on_changeSavePathButton_clicked() {
savepath_file.write(savePath.path().toLocal8Bit());
savepath_file.close();
// Actually move storage
h.move_storage(savePath.path());
if(!BTSession->useTemporaryFolder() || h.is_seed())
h.move_storage(savePath.path());
// Update save_path in dialog
save_path->setText(savePath.path());
}

View File

@@ -14,10 +14,10 @@ CONFIG += qt \
network
# Update this VERSION for each release
DEFINES += VERSION=\\\"v1.4.0\\\"
DEFINES += VERSION=\\\"v1.4.1\\\"
DEFINES += VERSION_MAJOR=1
DEFINES += VERSION_MINOR=4
DEFINES += VERSION_BUGFIX=0
DEFINES += VERSION_BUGFIX=1
!mac:QMAKE_LFLAGS += -Wl,--as-needed
contains(DEBUG_MODE, 1) {
CONFIG += debug