mirror of https://github.com/mgba-emu/mgba.git
Qt: Make audio channel/video layer options shortcut mappable
This commit is contained in:
parent
42f5934b25
commit
61bfd9d87d
1
CHANGES
1
CHANGES
|
@ -28,6 +28,7 @@ Misc:
|
|||
- 3DS: Use system font for menus
|
||||
- PSP2: Use system font for menus
|
||||
- All: Faster memory read/write
|
||||
- Qt: Make audio channel/video layer options shortcut mappable
|
||||
|
||||
0.4.1: (2016-07-11)
|
||||
Bugfixes:
|
||||
|
|
|
@ -1218,6 +1218,7 @@ void Window::setupMenu(QMenuBar* menubar) {
|
|||
|
||||
avMenu->addSeparator();
|
||||
QMenu* videoLayers = avMenu->addMenu(tr("Video layers"));
|
||||
m_shortcutController->addMenu(videoLayers, avMenu);
|
||||
|
||||
for (int i = 0; i < 4; ++i) {
|
||||
QAction* enableBg = new QAction(tr("Background %0").arg(i), videoLayers);
|
||||
|
@ -1234,6 +1235,7 @@ void Window::setupMenu(QMenuBar* menubar) {
|
|||
addControlledAction(videoLayers, enableObj, "enableOBJ");
|
||||
|
||||
QMenu* audioChannels = avMenu->addMenu(tr("Audio channels"));
|
||||
m_shortcutController->addMenu(audioChannels, avMenu);
|
||||
|
||||
for (int i = 0; i < 4; ++i) {
|
||||
QAction* enableCh = new QAction(tr("Channel %0").arg(i + 1), audioChannels);
|
||||
|
|
Loading…
Reference in New Issue