mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-06 00:52:34 +02:00
Made the Quit action shortcut work when the menu bar is hidden.
This commit is contained in:
parent
dab7d770a5
commit
77c7ad7c47
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user