1
0
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:
Teo Mrnjavac 2012-08-04 19:32:00 +02:00
parent dab7d770a5
commit 77c7ad7c47

View File

@ -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
}