You've already forked qBittorrent
mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-10-26 06:12:17 +01:00
Compare commits
1 Commits
release-1.
...
release-1.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63e5a761ae |
@@ -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->setUnfinishedTorrent(hash);
|
BTSession->setFinishedTorrent(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 |
@@ -57,8 +57,6 @@ 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;
|
||||||
|
|||||||
@@ -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.2\\\"
|
DEFINES += VERSION=\\\"v1.1.1\\\"
|
||||||
DEFINES += VERSION_MAJOR=1
|
DEFINES += VERSION_MAJOR=1
|
||||||
DEFINES += VERSION_MINOR=1
|
DEFINES += VERSION_MINOR=1
|
||||||
DEFINES += VERSION_BUGFIX=2
|
DEFINES += VERSION_BUGFIX=1
|
||||||
|
|
||||||
QMAKE_LFLAGS += -Wl,--as-needed
|
QMAKE_LFLAGS += -Wl,--as-needed
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user