Compare commits

..

9 Commits

Author SHA1 Message Date
Christophe Dumez
6272b44286 - Tagged v1.1.2 release 2008-08-17 03:59:06 +00:00
Christophe Dumez
a8235dc413 - Progress calculation fix 2008-08-17 03:53:49 +00:00
Christophe Dumez
c2838d9b0c - Forgot to update this 2008-08-01 16:21:14 +00:00
Christophe Dumez
d6d7797064 - v1.1.1 2008-08-01 16:20:27 +00:00
Christophe Dumez
685216505c - Fixed resource file 2008-08-01 16:17:31 +00:00
Christophe Dumez
c28c55280d - Added release date 2008-08-01 14:37:03 +00:00
Christophe Dumez
f1032c4619 - Updated INSTALL file 2008-08-01 14:30:18 +00:00
Christophe Dumez
d34bfd13b3 - Updated resources files 2008-08-01 14:28:28 +00:00
Christophe Dumez
cfd6a9d734 - Removed rc 2008-08-01 14:23:39 +00:00
4 changed files with 5 additions and 3 deletions

View File

@@ -247,7 +247,7 @@ void FinishedTorrents::updateFinishedList(){
if (reponse == QMessageBox::Yes) { if (reponse == QMessageBox::Yes) {
qDebug("Info: a torrent was moved from finished to download tab"); qDebug("Info: a torrent was moved from finished to download tab");
deleteTorrent(hash); deleteTorrent(hash);
BTSession->setFinishedTorrent(hash); BTSession->setUnfinishedTorrent(hash);
emit torrentMovedFromFinishedList(hash); emit torrentMovedFromFinishedList(hash);
} }
else if (reponse == QMessageBox::No) { else if (reponse == QMessageBox::No) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View File

@@ -57,6 +57,8 @@ float QTorrentHandle::progress() const {
Q_ASSERT(h.is_valid()); Q_ASSERT(h.is_valid());
if(!h.status().total_wanted) if(!h.status().total_wanted)
return 0.; return 0.;
if (h.status().total_wanted_done == h.status().total_wanted)
return 1.;
float progress = (float)h.status().total_wanted_done/(float)h.status().total_wanted; float progress = (float)h.status().total_wanted_done/(float)h.status().total_wanted;
Q_ASSERT(progress >= 0. && progress <= 1.); Q_ASSERT(progress >= 0. && progress <= 1.);
return progress; return progress;

View File

@@ -11,10 +11,10 @@ TARGET = qbittorrent
CONFIG += qt thread x11 network CONFIG += qt thread x11 network
# Update this VERSION for each release # Update this VERSION for each release
DEFINES += VERSION=\\\"v1.1.1\\\" DEFINES += VERSION=\\\"v1.1.2\\\"
DEFINES += VERSION_MAJOR=1 DEFINES += VERSION_MAJOR=1
DEFINES += VERSION_MINOR=1 DEFINES += VERSION_MINOR=1
DEFINES += VERSION_BUGFIX=1 DEFINES += VERSION_BUGFIX=2
QMAKE_LFLAGS += -Wl,--as-needed QMAKE_LFLAGS += -Wl,--as-needed