Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 8dacadf9 authored by Stephan Kulow's avatar Stephan Kulow

KAction porting

svn path=/trunk/KDE/kdemultimedia/juk/; revision=562952
parent 88fbfd5f
......@@ -920,10 +920,14 @@ KAction *PlaylistCollection::ActionHandler::createAction(const QString &text,
const QString &icon,
const KShortcut &shortcut)
KAction *action;
return new KAction(text, shortcut, this, slot, actions(), name);
action = new KAction(text, actions(), name);
return new KAction(text, icon, shortcut, this, slot, actions(), name);
action = new KAction(KIcon(icon), text, actions(), name);
connect( action, SIGNAL(triggered(bool)), slot);
return action;
#undef widget
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment