From c97d61e85f79957a927358751f7a6ec739fca293 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Tue, 23 Oct 2012 14:06:02 +0200 Subject: [PATCH] Fix bug with play/pause shortcut key not working with compact menu. --- src/TomahawkWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TomahawkWindow.cpp b/src/TomahawkWindow.cpp index 6a70ef719..38a500dac 100644 --- a/src/TomahawkWindow.cpp +++ b/src/TomahawkWindow.cpp @@ -302,6 +302,7 @@ TomahawkWindow::setupToolBar() // won't be picked up when the menu is hidden. // This must be done for all menu bar actions that have shortcut keys :( // Does not apply to Mac which always shows the menu bar. + addAction( ActionCollection::instance()->getAction( "playPause" ) ); addAction( ActionCollection::instance()->getAction( "toggleMenuBar" ) ); addAction( ActionCollection::instance()->getAction( "quit" ) ); #endif