Commit 461122c9 authored by Dirk Mueller's avatar Dirk Mueller

compile++

svn path=/trunk/KDE/kdemultimedia/juk/; revision=610757
parent 3e45fe99
......@@ -155,7 +155,7 @@ void KeyDialog::slotKeys(int group)
// Set modifier keys according to key group and modifier keys
for(uint i = 0; i < keyInfoCount; i++) {
KAction *a = ActionCollection::action(keyInfo[i].action);
KAction *a = dynamic_cast<KAction*>(ActionCollection::action(keyInfo[i].action));
if(a)
a->setGlobalShortcut(keyInfo[i].shortcut[group]);
}
......@@ -198,7 +198,7 @@ void KeyDialog::setupActionShortcut(const QString &actionName)
if(shortcut.isEmpty())
return; // We have no shortcut to set.
KAction *a = ActionCollection::action(actionName);
KAction *a = dynamic_cast<KAction*>(ActionCollection::action(actionName));
if(a)
a->setGlobalShortcut(shortcut);
}
......
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