diff --git a/useractions.cpp b/useractions.cpp index 784b5123b0..68d277c2f0 100755 --- a/useractions.cpp +++ b/useractions.cpp @@ -909,7 +909,7 @@ void ShortcutDialog::keySequenceChanged(const QKeySequence &seq) widget->setKeySequence(shortcut()); } else if (seq != _shortcut) { warning->hide(); - if (KPushButton *ok = button(KDialog::Ok)) + if (QPushButton *ok = button(KDialog::Ok)) ok->setFocus(); }