Objects to be synced timer

Now updates together with bandwidth every 2 seconds.
This commit is contained in:
mailchuck 2016-04-27 12:16:21 +02:00 committed by Peter Surda
parent b7fefb3c40
commit cb1c8157fe

View File

@ -130,6 +130,7 @@ class NetworkStatus(QtGui.QWidget, RetranslateMixin):
"networkstatus", "Inventory lookups per second: %1").arg(str(shared.numberOfInventoryLookupsPerformed/2))) "networkstatus", "Inventory lookups per second: %1").arg(str(shared.numberOfInventoryLookupsPerformed/2)))
shared.numberOfInventoryLookupsPerformed = 0 shared.numberOfInventoryLookupsPerformed = 0
self.updateNumberOfBytes() self.updateNumberOfBytes()
self.updateNumberOfObjectsToBeSynced()
def retranslateUi(self): def retranslateUi(self):
super(QtGui.QWidget, self).retranslateUi() super(QtGui.QWidget, self).retranslateUi()