Skip to content

DeviceStatistics: Replace setRefreshRateMs call with manual DBus call

Kai Uwe Broulik requested to merge work/kbroulik/dont-block-refreshrate into master

Qt's generated DBus code does a setProperty call which in tern returns whether the call succeeded and so Qt waits for it. The call occasionally takes a long time and we don't care for its return value, so replace it by a manual NoBlock call.


Got annoyed by my plasma-nm applet sometimes taking a lot of time to open. It still does a massive amount of blocking property queries but the refresh rate thing I found to be the worst offender.

Merge request reports

Loading