|
|
@ -1181,10 +1181,10 @@ void GUI::checkConnectionStatus() { |
|
|
|
html += tr("qBittorrent"); |
|
|
|
html += tr("qBittorrent"); |
|
|
|
html += "</div>"; |
|
|
|
html += "</div>"; |
|
|
|
html += "<div style='vertical-align: baseline; height: 18px;'>"; |
|
|
|
html += "<div style='vertical-align: baseline; height: 18px;'>"; |
|
|
|
html += "<img src=':/Icons/skin/downloading.png'/>"+tr("DL speed: %1 KiB/s", "e.g: Download speed: 10 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadDownloadRate()/1024., 'f', 1))); |
|
|
|
html += "<img src=':/Icons/skin/downloading.png'/> "+tr("DL speed: %1 KiB/s", "e.g: Download speed: 10 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadDownloadRate()/1024., 'f', 1))); |
|
|
|
html += "</div>"; |
|
|
|
html += "</div>"; |
|
|
|
html += "<div style='vertical-align: baseline; height: 18px;'>"; |
|
|
|
html += "<div style='vertical-align: baseline; height: 18px;'>"; |
|
|
|
html += "<img src=':/Icons/skin/seeding.png'/>"+tr("UP speed: %1 KiB/s", "e.g: Upload speed: 10 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadUploadRate()/1024., 'f', 1))); |
|
|
|
html += "<img src=':/Icons/skin/seeding.png'/> "+tr("UP speed: %1 KiB/s", "e.g: Upload speed: 10 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadUploadRate()/1024., 'f', 1))); |
|
|
|
html += "</div>"; |
|
|
|
html += "</div>"; |
|
|
|
myTrayIcon->setToolTip(html); // tray icon
|
|
|
|
myTrayIcon->setToolTip(html); // tray icon
|
|
|
|
} |
|
|
|
} |
|
|
|