mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +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 :(
|
// 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( "toggleMenuBar" ) );
|
addAction( ActionCollection::instance()->getAction( "toggleMenuBar" ) );
|
||||||
|
addAction( ActionCollection::instance()->getAction( "quit" ) );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user