https://bugs.kde.org/show_bug.cgi?id=501066
Marco Martin <notm...@gmail.com> 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/b36536dbe5e0385e392cea102 |t/fa72f94cad3989cca0164c5e8 |027c16b9f619479 |0060ba64994d422 --- Comment #16 from Marco Martin <notm...@gmail.com> --- Git commit fa72f94cad3989cca0164c5e80060ba64994d422 by Marco Martin. Committed on 17/03/2025 at 09:37. Pushed by mart into branch 'Plasma/6.3'. applets/weather: Fix config save Move the call to setDefaultUnits() from the constructor to init() setDefaulktUnits() accesses config() which is forbidden to access from the Applet constructor, as at that point the applet is not in the containment/corona hyerarchy yet and can't find the proper place in the config file. When this happens, the applet will start to read/write in plasmarc itself so it won't even be saved in the appletsrc layout (cherry picked from commit b36536dbe5e0385e392cea102027c16b9f619479) b36536db applets/weather: Fix config save Co-authored-by: Marco Martin <notm...@gmail.com> M +5 -2 applets/weather/weatherapplet.cpp M +1 -0 applets/weather/weatherapplet.h https://invent.kde.org/plasma/kdeplasma-addons/-/commit/fa72f94cad3989cca0164c5e80060ba64994d422 -- You are receiving this mail because: You are watching all bug changes.