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


András Manţia <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected]
          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.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to