all repos — mgba @ 291d5c500b9f6e6fc3a4e1b936b6cdb3457406a5

mGBA Game Boy Advance Emulator

Qt: Fix useBios config option not being bound properly
Jeffrey Pfau jeffrey@endrift.com
Sat, 21 Mar 2015 17:12:37 -0700
commit

291d5c500b9f6e6fc3a4e1b936b6cdb3457406a5

parent

2650ae89c7caf6f6f016c564865a2fde977df770

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -770,7 +770,9 @@ m_controller->setSkipBIOS(value.toBool());

}, this); ConfigOption* useBios = m_config->addOption("useBios"); - useBios->connect([this](const QVariant& value) { m_controller->setUseBIOS(value.toBool()); }); + useBios->connect([this](const QVariant& value) { + m_controller->setUseBIOS(value.toBool()); + }, this); ConfigOption* rewindEnable = m_config->addOption("rewindEnable"); rewindEnable->connect([this](const QVariant& value) {