Commit 4e6a1be0 authored by Andreas Hartmetz's avatar Andreas Hartmetz

port to new KGlobalAccel; no need to call setConfigGroup() at all.

svn path=/trunk/KDE/kdemultimedia/juk/; revision=659482
parent 60c7fbac
......@@ -294,8 +294,6 @@ void JuK::setupSystemTray()
void JuK::setupGlobalAccels()
{
m_accel = KGlobalAccel::self();
KeyDialog::setupActionShortcut("play");
KeyDialog::setupActionShortcut("playPause");
KeyDialog::setupActionShortcut("stop");
......@@ -309,8 +307,7 @@ void JuK::setupGlobalAccels()
KeyDialog::setupActionShortcut("showHide");
KeyDialog::setupActionShortcut("forwardAlbum");
m_accel->setConfigGroup("Shortcuts");
m_accel->readSettings();
KGlobalAccel::self()->readSettings();
}
void JuK::slotProcessArgs()
......
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