From 08aaff379bf2b1d2706b053e9740ccbc79f44760 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 13 Jan 2017 16:59:59 +0800 Subject: [PATCH 1/2] Fix download & upload icon too large in systray on linux. Closes #6233. --- src/gui/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 579393527..8c889e5f1 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -1288,10 +1288,10 @@ void MainWindow::updateGUI() html += "qBittorrent"; html += ""; html += "
"; - html += " " + tr("DL speed: %1", "e.g: Download speed: 10 KiB/s").arg(Utils::Misc::friendlyUnit(status.payloadDownloadRate(), true)); + html += " " + tr("DL speed: %1", "e.g: Download speed: 10 KiB/s").arg(Utils::Misc::friendlyUnit(status.payloadDownloadRate(), true)); html += "
"; html += "
"; - html += " " + tr("UP speed: %1", "e.g: Upload speed: 10 KiB/s").arg(Utils::Misc::friendlyUnit(status.payloadUploadRate(), true)); + html += " " + tr("UP speed: %1", "e.g: Upload speed: 10 KiB/s").arg(Utils::Misc::friendlyUnit(status.payloadUploadRate(), true)); html += "
"; #else // OSes such as Windows do not support html here From df274e6457aaff697ec03a8653815952e7a62f39 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 13 Jan 2017 17:13:23 +0800 Subject: [PATCH 2/2] Fix statusIcon too large. Closes #6228. --- src/webui/www/public/css/dynamicTable.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/webui/www/public/css/dynamicTable.css b/src/webui/www/public/css/dynamicTable.css index e89be47fa..55a024ab7 100644 --- a/src/webui/www/public/css/dynamicTable.css +++ b/src/webui/www/public/css/dynamicTable.css @@ -74,7 +74,8 @@ } #transferList img.statusIcon { - margin-bottom: -4px; + height: 1.3em; + vertical-align: middle; } #trackers th,