mirror of https://github.com/mgba-emu/mgba.git
Qt: Make mute menu option also toggle fast-forward mute (fixes #1424)
This commit is contained in:
parent
6b41d91e69
commit
e8383209c5
1
CHANGES
1
CHANGES
|
@ -43,6 +43,7 @@ Misc:
|
|||
- Qt: Add native FPS button to settings view
|
||||
- Qt: Improve sync code
|
||||
- Switch: Dynamic display resizing
|
||||
- Qt: Make mute menu option also toggle fast-forward mute (fixes mgba.io/i/1424)
|
||||
|
||||
0.7.2: (2019-05-25)
|
||||
Emulation fixes:
|
||||
|
|
|
@ -1375,6 +1375,7 @@ void Window::setupMenu(QMenuBar* menubar) {
|
|||
ConfigOption* mute = m_config->addOption("mute");
|
||||
mute->addBoolean(tr("Mute"), &m_actions, "av");
|
||||
mute->connect([this](const QVariant& value) {
|
||||
m_config->setOption("fastForwardMute", static_cast<bool>(value.toInt()));
|
||||
reloadConfig();
|
||||
}, this);
|
||||
m_config->updateOption("mute");
|
||||
|
|
Loading…
Reference in New Issue