Revision 1237516

Go back to digest for 26th June 2011

Bug Fixes in Multimedia

Giorgos Kylafas committed changes in /trunk/KDE/kdemultimedia/juk:

juk: fix crash when adding items to toolbars with RMB.

When adding an item to a toolbar using right-click, the KXMLGUIClient
object of the global action collection is accessed.
(see KMenuMenuHandler::slotAddToToolBar() )
The way the action collection was created meant the object was NULL,
which resulted in crashes.
So, create the action collection with KXMLGUIClient::actionCollection(),
which properly sets the object.

File Changes

Modified 3 files
  • /trunk/KDE/kdemultimedia/juk
  •   /actioncollection.cpp
  •   /juk.cpp
  •   /juk.h
3 files changed in total