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

Ismael Asensio <isma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/0bfc8f4804d8d38cf9a296510 |t/dce47eea1cc86a78888a57beb
                   |88f79fe6123b7b1             |f3c382b19c59a3c

--- Comment #8 from Ismael Asensio <isma...@gmail.com> ---
Git commit dce47eea1cc86a78888a57bebf3c382b19c59a3c by Ismael Asensio.
Committed on 14/01/2025 at 12:34.
Pushed by iasensio into branch 'Plasma/6.3'.

dataengines/weather: Fix applet update on network reconnection

The weather dataengine has code to update the weather data when the
network state gets back online, by issuing a forced update via the
`reset()` method.

The ion provider stores which sources will be updated in the member:
`m_sourcesToReset = sources()`, to later emit a `forceUpdate()` signal
on those and refresh the applet.

Fix this mechanism for DWD and BBC providers, by ensuring the weather
`source` is always stored internally, which was wrongly removed in
recent refactors. Also move the relevant code to a better place and
comment appropriately so the purpose is more clear.
FIXED-IN: 6.3.0


(cherry picked from commit 0bfc8f4804d8d38cf9a29651088f79fe6123b7b1)

Co-authored-by: Ismael Asensio <isma...@gmail.com>

M  +8    -5    dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp
M  +8    -11   dataengines/weather/ions/dwd/ion_dwd.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/dce47eea1cc86a78888a57bebf3c382b19c59a3c

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

Reply via email to