From bc834b84a3aa6fb1296fecd0bd969bdcd55257dc Mon Sep 17 00:00:00 2001 From: Noobsai Date: Mon, 1 Aug 2022 19:34:30 +0500 Subject: [PATCH] fix: use correct variable for uploading speed (#3560) --- gtk/TorrentCellRenderer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/TorrentCellRenderer.cc b/gtk/TorrentCellRenderer.cc index e1cd75256..61e1cd9af 100644 --- a/gtk/TorrentCellRenderer.cc +++ b/gtk/TorrentCellRenderer.cc @@ -137,7 +137,7 @@ std::string getShortTransferString( if (bool const have_up = have_meta && st->peersGettingFromUs > 0; have_up) { - return fmt::format(_("{upload_speed} ▲"), fmt::arg("upload_speed", tr_formatter_speed_KBps(downloadSpeed_KBps))); + return fmt::format(_("{upload_speed} ▲"), fmt::arg("upload_speed", tr_formatter_speed_KBps(uploadSpeed_KBps))); } if (st->isStalled)