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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user