Revision 1238534

Go back to digest for 3rd July 2011

Bug Fixes in Multimedia

Giorgos Kylafas committed changes in /branches/KDE/4.6/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.

This is a backport of r1237516 from trunk to branch 4.6 (KDE SC 4.6.5).


FIXED-IN: 4.6.5

File Changes

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