mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 05:39:11 -04:00
Merge pull request #1509 from RetroPooh/trafcount
display session traffic
This commit is contained in:
commit
43a5312194
12 changed files with 59 additions and 11 deletions
|
@ -730,9 +730,12 @@ void MainWindow::updateStatus()
|
|||
float downKb = 0;
|
||||
float upKb = 0;
|
||||
rsConfig->GetCurrentDataRates(downKb, upKb);
|
||||
uint64_t down = 0;
|
||||
uint64_t up = 0;
|
||||
rsConfig->GetTrafficSum(down, up);
|
||||
|
||||
if (ratesstatus)
|
||||
ratesstatus->getRatesStatus(downKb, upKb);
|
||||
ratesstatus->getRatesStatus(downKb, down, upKb, up);
|
||||
|
||||
if(torstatus)
|
||||
torstatus->getTorStatus();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue