mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 12:34:19 +00:00
- Fixed bug in UP/DL speeds updates
This commit is contained in:
parent
1cadf73a40
commit
e233f27d1c
@ -1303,8 +1303,8 @@ void GUI::on_actionTorrent_Properties_triggered() {
|
|||||||
|
|
||||||
void GUI::updateLists() {
|
void GUI::updateLists() {
|
||||||
// update global informations
|
// update global informations
|
||||||
dlSpeedLbl = new QLabel(tr("DL: %1 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadDownloadRate()/1024., 'f', 1))));
|
dlSpeedLbl->setText(tr("DL: %1 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadDownloadRate()/1024., 'f', 1))));
|
||||||
upSpeedLbl = new QLabel(tr("UP: %1 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadUploadRate()/1024., 'f', 1))));
|
upSpeedLbl->setText(tr("UP: %1 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadUploadRate()/1024., 'f', 1))));
|
||||||
switch(getCurrentTabIndex()){
|
switch(getCurrentTabIndex()){
|
||||||
case 0:
|
case 0:
|
||||||
downloadingTorrentTab->updateDlList();
|
downloadingTorrentTab->updateDlList();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user