mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix useBios config option not being bound properly
This commit is contained in:
parent
2650ae89c7
commit
291d5c500b
|
@ -770,7 +770,9 @@ void Window::setupMenu(QMenuBar* menubar) {
|
|||
}, 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) {
|
||||
|
|
Loading…
Reference in New Issue