[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>
Tue, 20 May 2025 06:31:26 +0000 (08:31 +0200)
commit0a0455e5d88c08573312137941e48c4372e5cd86
treec922a477e410c5beb89bff7eb632aa2e1aa2576d
parente3ed6d4cb34ce269974e8d67f33fd004b6e278c3
[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