mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 21:28:07 -06:00
Improve coding style
This commit is contained in:
@@ -71,11 +71,13 @@ quint64 Statistics::getAlltimeUL() const
|
||||
void Statistics::gather()
|
||||
{
|
||||
const SessionStatus &ss = m_session->status();
|
||||
if (ss.totalDownload > m_sessionDL) {
|
||||
if (ss.totalDownload > m_sessionDL)
|
||||
{
|
||||
m_sessionDL = ss.totalDownload;
|
||||
m_dirty = true;
|
||||
}
|
||||
if (ss.totalUpload > m_sessionUL) {
|
||||
if (ss.totalUpload > m_sessionUL)
|
||||
{
|
||||
m_sessionUL = ss.totalUpload;
|
||||
m_dirty = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user