Skip to content

systemstats: Warn when overwriting a property in SensorObject

Arjen Hiemstra requested to merge work/cherry-pick-76fb46c9 into Plasma/6.1

The behaviour between SensorContainer and SensorObject is a little different, SensorContainer rejects objects that have the same ID as something inside the container while SensorObject silently overwrites them. This doesn't change that behaviour but does add a warning to SensorObject to at least warn when this happens.

(cherry picked from commit 76fb46c9)

Merge request reports