diff --git a/src/GUI.cpp b/src/GUI.cpp index fb1bf75ea..4978c77a8 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -1303,8 +1303,8 @@ void GUI::on_actionTorrent_Properties_triggered() { void GUI::updateLists() { // update global informations - dlSpeedLbl = new QLabel(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)))); + 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)))); switch(getCurrentTabIndex()){ case 0: downloadingTorrentTab->updateDlList();