Qt: Fix fast forward mute being reset (fixes #1574)
Vicki Pfau vi@endrift.com
Mon, 11 Nov 2019 01:39:43 -0800
2 files changed,
4 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -94,6 +94,7 @@ - GBA Video: Fix OpenGL renderer 512x512 backgrounds (fixes mgba.io/i/1572)
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
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -1405,7 +1405,9 @@
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");