Commit cd7b9128 authored by Hamish Rodda's avatar Hamish Rodda
Browse files

Port to KActionCollection::associateWidget

svn path=/trunk/KDE/kdemultimedia/juk/; revision=730673
parent f42ebaec
......@@ -134,7 +134,6 @@ void JuK::setupLayout()
void JuK::setupActions()
{
ActionCollection::actions()->setAssociatedWidget(this);
KActionCollection *collection = ActionCollection::actions();
// Setup KDE standard actions that JuK uses.
......@@ -275,6 +274,8 @@ void JuK::setupActions()
m_sliderAction = new SliderAction(i18n("Track Position"), this);
collection->addAction("trackPositionAction", m_sliderAction);
ActionCollection::actions()->associateWidget(this);
}
void JuK::setupSystemTray()
......
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