mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Made the Quit action shortcut work when the menu bar is hidden.
This commit is contained in:
@@ -281,6 +281,7 @@ TomahawkWindow::setupToolBar()
|
||||
// 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( "toggleMenuBar" ) );
|
||||
addAction( ActionCollection::instance()->getAction( "quit" ) );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user