summaryrefslogtreecommitdiffstats
path: root/kppp/pppstats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/pppstats.cpp')
-rw-r--r--kppp/pppstats.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kppp/pppstats.cpp b/kppp/pppstats.cpp
index 29a87e77..fb4d6428 100644
--- a/kppp/pppstats.cpp
+++ b/kppp/pppstats.cpp
@@ -127,25 +127,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;