1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-17 22:38:33 +01:00

Fix bug with play/pause shortcut key not working with compact menu.

This commit is contained in:
Teo Mrnjavac 2012-10-23 14:06:02 +02:00
parent 265c1277fb
commit c97d61e85f

View File

@ -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