[Bug 287923] KMail crash when dragging mail to a folder
András Manţia
amantia at kde.org
Sat Dec 10 07:52:57 GMT 2011
https://bugs.kde.org/show_bug.cgi?id=287923
András Manţia <amantia at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amantia at kde.org,
| |montel at kde.org
Component|general |libakonadi
Product|kmail2 |Akonadi
--- Comment #5 from András Manţia <amantia kde org> 2011-12-10 07:52:57 ---
The problem is with the recently introduced mRecentCollectionMenu.
This is a mapping between the action type and the RecentCollectionAction. There
is an entry added to the map every time the menu is about to show.
1) first problem: even though the map holds a smart pointer, QPointer to the
RecentCollectionAction (should be QWeakPointer), when the pointer value is
read, it is not checked for null, that's why it crash.
2) the reason I didn't fix it simply by checking the value for null is that I
see no place where entries are removed from the map. This looks wrong to me, so
I let Laurent go through his code and fix it. :)
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list