Skip to content

Don't initialize sent/received bytes with stale values

David Redondo requested to merge cherry-pick-a1c10d0c into Plasma/5.27

Update rate 0 means that this is disabled. If the applet was opened before, the device statistics object might contain stale values because the NetworkManagerQt objects are shared. Thus when the UI retrieves the model value before the model receives a networkmanager update, an arbitrary high speed is shown.

(cherry picked from commit a1c10d0c)

Merge request reports