|
|
@ -1362,7 +1362,6 @@ void GUI::on_actionTorrent_Properties_triggered() { |
|
|
|
|
|
|
|
|
|
|
|
void GUI::updateLists(bool force) { |
|
|
|
void GUI::updateLists(bool force) { |
|
|
|
if(isVisible() || force) { |
|
|
|
if(isVisible() || force) { |
|
|
|
qDebug("Update LISTS"); |
|
|
|
|
|
|
|
// update global informations
|
|
|
|
// update global informations
|
|
|
|
dlSpeedLbl->setText(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->setText(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)))); |
|
|
|