mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 12:34:19 +00:00
- BUGFIX: Fixed an arithmetic exception that could happen in ETA calculation
This commit is contained in:
parent
dd65bb7292
commit
55fd750bfd
@ -25,6 +25,7 @@
|
|||||||
- BUGFIX: Remove torrent file from scanned directory if it is already in download list
|
- BUGFIX: Remove torrent file from scanned directory if it is already in download list
|
||||||
- BUGFIX: Fixed possible segfault on loading due to columns size loading
|
- BUGFIX: Fixed possible segfault on loading due to columns size loading
|
||||||
- BUGFIX: Fixed problems that could happen with delete selection action
|
- BUGFIX: Fixed problems that could happen with delete selection action
|
||||||
|
- BUGFIX: Fixed an arithmetic exception that could happen in ETA calculation
|
||||||
- COSMETIC: Now displaying the number of downloads in tab title
|
- COSMETIC: Now displaying the number of downloads in tab title
|
||||||
- COSMETIC: Redesigned download from url dialog
|
- COSMETIC: Redesigned download from url dialog
|
||||||
- COSMETIC: Added a message to warn user that we started download from an url
|
- COSMETIC: Added a message to warn user that we started download from an url
|
||||||
|
@ -492,7 +492,7 @@ void GUI::updateDlList(){
|
|||||||
if(torrentStatus.download_payload_rate > 0){
|
if(torrentStatus.download_payload_rate > 0){
|
||||||
// Display "Downloading" status when connecting if download speed > 0
|
// Display "Downloading" status when connecting if download speed > 0
|
||||||
DLListModel->setData(DLListModel->index(row, STATUS), QVariant(tr("Downloading...")));
|
DLListModel->setData(DLListModel->index(row, STATUS), QVariant(tr("Downloading...")));
|
||||||
DLListModel->setData(DLListModel->index(row, ETA), QVariant((qlonglong)(((qlonglong)ti.total_size()-(qlonglong)torrentStatus.total_done)/(qlonglong)torrentStatus.download_payload_rate)));
|
DLListModel->setData(DLListModel->index(row, ETA), QVariant((qlonglong)((ti.total_size()-torrentStatus.total_done)/(double)torrentStatus.download_payload_rate)));
|
||||||
DLListModel->setData(DLListModel->index(row, NAME), QVariant(QIcon(":/Icons/skin/downloading.png")), Qt::DecorationRole);
|
DLListModel->setData(DLListModel->index(row, NAME), QVariant(QIcon(":/Icons/skin/downloading.png")), Qt::DecorationRole);
|
||||||
setRowColor(row, "green");
|
setRowColor(row, "green");
|
||||||
}else{
|
}else{
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#define ABOUT_H
|
#define ABOUT_H
|
||||||
|
|
||||||
#include "ui_about.h"
|
#include "ui_about.h"
|
||||||
#define VERSION "v0.7.0rc3"
|
#define VERSION "v0.7.0rc4"
|
||||||
|
|
||||||
class about : public QDialog, private Ui::AboutDlg{
|
class about : public QDialog, private Ui::AboutDlg{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user