diff options
Diffstat (limited to 'kppp/pppstats.cpp')
-rw-r--r-- | kppp/pppstats.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kppp/pppstats.cpp b/kppp/pppstats.cpp index ecc083fc..d4b3007e 100644 --- a/kppp/pppstats.cpp +++ b/kppp/pppstats.cpp @@ -121,25 +121,25 @@ void PPPStats::clear() compressed = 0; packetsunc = 0; packetsoutunc = 0; - ioStatus = BytesNone; + iotqStatus = BytesNone; } void PPPStats::timerClick() { - enum IOStatus newStatus; + enum IOtqStatus newtqStatus; doStats(); if((ibytes != ibytes_last) && (obytes != obytes_last)) - newStatus = BytesBoth; + newtqStatus = BytesBoth; else if(ibytes != ibytes_last) - newStatus = BytesIn; + newtqStatus = BytesIn; else if(obytes != obytes_last) - newStatus = BytesOut; + newtqStatus = BytesOut; else - newStatus = BytesNone; + newtqStatus = BytesNone; - if(newStatus != ioStatus) - emit statsChanged(ioStatus = newStatus); + if(newtqStatus != iotqStatus) + emit statsChanged(iotqStatus = newtqStatus); ibytes_last = ibytes; obytes_last = obytes; |