mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Don't hide member variables when storing current speeds
PR #20847. Closes #20843.
This commit is contained in:
committed by
GitHub
parent
00ca209ab9
commit
fb796ec595
@@ -1510,8 +1510,8 @@ void MainWindow::loadSessionStats()
|
||||
{
|
||||
const auto *btSession = BitTorrent::Session::instance();
|
||||
const BitTorrent::SessionStatus &status = btSession->status();
|
||||
const QString m_downloadRate = Utils::Misc::friendlyUnit(status.payloadDownloadRate, true);
|
||||
const QString m_uploadRate = Utils::Misc::friendlyUnit(status.payloadUploadRate, true);
|
||||
m_downloadRate = Utils::Misc::friendlyUnit(status.payloadDownloadRate, true);
|
||||
m_uploadRate = Utils::Misc::friendlyUnit(status.payloadUploadRate, true);
|
||||
|
||||
// update global information
|
||||
#ifdef Q_OS_MACOS
|
||||
|
||||
Reference in New Issue
Block a user