Revision 837041

Go back to digest for 27th July 2008

Bug Fixes in KDE Base

Thomas Zander committed changes in /trunk/KDE/kdelibs/kio/bookmarks/kbookmarkmenu.cc:

Fixes: Default konsole shortcut for adding bookmarks can not be configured

Details:
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

File Changes

Modified 1 files
  • /trunk/KDE/kdelibs/kio/bookmarks/kbookmarkmenu.cc
1 files changed in total