[kdf] [Bug 484667] Systemsetting crashes when closing while kdiskfree module is open

Nicolas Fella bugzilla_noreply at kde.org
Sat Oct 5 11:25:02 BST 2024


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

Nicolas Fella <nicolas.fella at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
                   |ities/kdf/-/commit/926d933f |ities/kdf/-/commit/6946c62d
                   |86828bcd3b796939dd8060f9670 |2a091a3a309dc78620a0137c260
                   |079c9                       |e95d8

--- Comment #3 from Nicolas Fella <nicolas.fella at gmx.de> ---
Git commit 6946c62d2a091a3a309dc78620a0137c260e95d8 by Nicolas Fella.
Committed on 05/10/2024 at 10:24.
Pushed by nicolasfella into branch 'release/24.08'.

Fix crash when closing KCM

The KCM widget and its children are destroyed before the KCModule is destroyed,
so by the time we destroy the KCModule accessing the widget crashes.

Instead save the state when the widget is destroyed.
(cherry picked from commit 926d933f86828bcd3b796939dd8060f9670079c9)

M  +0    -4    src/kcmdf.cpp
M  +0    -1    src/kcmdf.h
M  +0    -8    src/kdf.cpp
M  +0    -2    src/kdf.h
M  +2    -2    src/kdfwidget.cpp

https://invent.kde.org/utilities/kdf/-/commit/6946c62d2a091a3a309dc78620a0137c260e95d8

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list