mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-25 02:36:10 +03:00
Don't hide member variables when storing current speeds
PR #20847. Closes #20843.
This commit is contained in:
parent
00ca209ab9
commit
fb796ec595
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue