[PATCH] applets/systemmonitor: handle null faceController
authorChristoph Wolk <cwo.kde@posteo.net>
Tue, 25 Mar 2025 09:46:10 +0000 (10:46 +0100)
committerAurélien COUDERC <coucouf@debian.org>
Mon, 21 Jul 2025 16:21:10 +0000 (18:21 +0200)
commitb701760dfff393d5d79a742f09a2abf4c998bf1d
tree7b8699150ccc0040e72153214438e6bbed230b66
parent6b3c7e72b6bc590145166d9cc82bcbad78fea7b2
[PATCH] applets/systemmonitor: handle null faceController

When initially adding a systemmonitor widget to a panel, faceController
can still be null, causing several TypeErrors.

Instead, use optional chaining and default values to prevent these
errors until the faceController is loaded.

Gbp-Pq: Name upstream_d4df9b5f_applets-systemmonitor-handle-null-faceController.patch
applets/systemmonitor/systemmonitor/package/contents/ui/main.qml