https://bugs.kde.org/show_bug.cgi?id=512871

Ismael Asensio <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kdeplasma-addons/-/commi |ma/kdeplasma-addons/-/commi
                   |t/ee9f587cbd8b00b581f44a959 |t/36284870593d925e1ff073ab7
                   |f421696a86ffe8b             |fc99370e27f5509

--- Comment #6 from Ismael Asensio <[email protected]> ---
Git commit 36284870593d925e1ff073ab7fc99370e27f5509 by Ismael Asensio.
Committed on 23/12/2025 at 19:06.
Pushed by iasensio into branch 'Plasma/6.5'.

applets/weather: Fix visibility for zero degrees temperatures

When showing temperatures in the forecast delegates, we cannot
check for "trueness" of the value in order to hide it, as 0ºC
(or even 0ºF) are valid temperatures.

Check instead if the value has been set. Javascript's `isNaN()`
is very handy, since it works for both `nan`vand `undefined`.
FIXED-IN: 6.5.90


(cherry picked from commit ee9f587cbd8b00b581f44a959f421696a86ffe8b)

Co-authored-by: Ismael Asensio <[email protected]>

M  +4    -4    applets/weather/qml/ForecastView.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/36284870593d925e1ff073ab7fc99370e27f5509

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to