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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
   Version Fixed In|                            |6.3.0
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/0bfc8f4804d8d38cf9a296510
                   |                            |88f79fe6123b7b1

--- Comment #6 from Ismael Asensio <isma...@gmail.com> ---
Git commit 0bfc8f4804d8d38cf9a29651088f79fe6123b7b1 by Ismael Asensio.
Committed on 14/01/2025 at 11:57.
Pushed by iasensio into branch 'master'.

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

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/0bfc8f4804d8d38cf9a29651088f79fe6123b7b1

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

Reply via email to