Use NetworkManager::DeviceStatistics instead of Plasma data engine

Authored by volkov on Aug 14 2018, 11:29 AM.

Description

Use NetworkManager::DeviceStatistics instead of Plasma data engine

Summary:
It's more correct to get information about devices from a single
source, i.e. from NetworkManager. Besides it allows to show the
total number of received/transmitted bytes instead of the current
speed, which is more useful for the user. The current speed can
still be seen on the graph.

This change requires NetworkManagerQt 5.50, because of the fixed
DevicesStatistics::setRefreshRateMs().

Reviewers: Plasma, jgrulich, sitter, jriddell

Reviewed By: jgrulich

Subscribers: broulik, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D14835

Details

Committed
volkovAug 31 2018, 11:06 AM
Reviewer
jgrulich
Differential Revision
D14835: Use NetworkManager::DeviceStatistics instead of Plasma data engine
Parents
R116:888058adbed3: Require NM 1.4.0 and newer
Branches
Unknown
Tags
Unknown