mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix fast forward mute being reset (fixes #1574)
This commit is contained in:
parent
4e03b15040
commit
77ab0ef770
1
CHANGES
1
CHANGES
|
@ -94,6 +94,7 @@ Emulation fixes:
|
|||
Other fixes:
|
||||
- 3DS: Fix screen darkening (fixes mgba.io/i/1562)
|
||||
- Vita: Fix analog controls (fixes mgba.io/i/1554)
|
||||
- Qt: Fix fast forward mute being reset (fixes mgba.io/i/1574)
|
||||
|
||||
0.8 beta 1: (2019-10-20)
|
||||
- Initial beta for 0.8
|
||||
|
|
|
@ -1405,7 +1405,9 @@ 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()));
|
||||
if (value.toInt()) {
|
||||
m_config->setOption("fastForwardMute", true);
|
||||
}
|
||||
reloadConfig();
|
||||
}, this);
|
||||
m_config->updateOption("mute");
|
||||
|
|
Loading…
Reference in New Issue