Revision 837041(Back to digest)
Bug Fixes in KDE Base
Fixes: Default konsole shortcut for adding bookmarks can not be configured
Actions should be added to the action collection prior to displaying the menu, so we should create them in the constructor. I added a d-pointer to hold references to the actions so we don't just create new ones later overwriting the properly-configured ones.
This commit additionally fixes memory leaks by avoiding the re-creation of the actions every time the menu is dirty. (they were never deleted explicitly)
Note that this commit is on 4.2, so unless someone feels its safe to backport to the 4.1 branch it will not be released in 4.1