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

Albert Astals Cid bugzilla_noreply at kde.org
Sat Oct 5 07:40:05 BST 2024


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

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/kdf/-/commit/926d933f
                   |                            |86828bcd3b796939dd8060f9670
                   |                            |079c9
         Resolution|---                         |FIXED

--- Comment #2 from Albert Astals Cid <aacid at kde.org> ---
Git commit 926d933f86828bcd3b796939dd8060f9670079c9 by Albert Astals Cid, on
behalf of Nicolas Fella.
Committed on 05/10/2024 at 06:39.
Pushed by aacid into branch 'master'.

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.

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

https://invent.kde.org/utilities/kdf/-/commit/926d933f86828bcd3b796939dd8060f9670079c9

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


More information about the Unassigned-bugs mailing list