[kmail2] [Bug 427236] KMail crashes after closing e-mail window
Nate Graham
bugzilla_noreply at kde.org
Fri Oct 2 14:42:19 BST 2020
https://bugs.kde.org/show_bug.cgi?id=427236
Nate Graham <nate at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version Fixed In| |5.75
Latest Commit| |https://invent.kde.org/fram
| |eworks/kxmlgui/commit/f431b
| |93e11640b1ef6bf53cf04c8c7a5
| |a4b5e091
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #5 from Nate Graham <nate at kde.org> ---
Git commit f431b93e11640b1ef6bf53cf04c8c7a5a4b5e091 by Nate Graham.
Committed on 02/10/2020 at 13:31.
Pushed by ngraham into branch 'master'.
[kmainwindow] Don't delete entries from an invalid kconfiggroup
If for some reason the config group we're trying to delete entries from
doesn't exist, the app will assert in KConfigGroup::deleteEntry in
`Q_ASSERT_X(isValid(), "KConfigGroup::deleteEntry", "accessing an
invalid group");`
So let's guard against that by only deleting the entry from the config
group if the group itself is valid. Maybe it's not, for some reason.
FIXED-IN: 5.75
M +3 -1 src/kmainwindow.cpp
https://invent.kde.org/frameworks/kxmlgui/commit/f431b93e11640b1ef6bf53cf04c8c7a5a4b5e091
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list