1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 20:00:13 +02: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. // won't be picked up when the menu is hidden.
// This must be done for all menu bar actions that have shortcut keys :( // This must be done for all menu bar actions that have shortcut keys :(
// Does not apply to Mac which always shows the menu bar. // 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( "toggleMenuBar" ) );
addAction( ActionCollection::instance()->getAction( "quit" ) ); addAction( ActionCollection::instance()->getAction( "quit" ) );
#endif #endif