Commit 8254f4e1 authored by Michael Pyne's avatar Michael Pyne
Browse files

Replace usage of deprecated KActionMenu API with modern equivalent.

parent 1c01502b
......@@ -259,7 +259,7 @@ void JuK::setupActions()
KActionMenu *actionMenu = collection->add<KActionMenu>("actionMenu");
actionMenu->setText(i18n("&Random Play"));
actionMenu->setIcon(QIcon::fromTheme( QLatin1String( "media-playlist-shuffle" )));
actionMenu->setDelayed(false);
actionMenu->setPopupMode(QToolButton::InstantPopup);
QActionGroup* randomPlayGroup = new QActionGroup(this);
......
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