Qt: Fix useBios config option not being bound properly

This commit is contained in:
Jeffrey Pfau 2015-03-21 17:12:37 -07:00
parent 2650ae89c7
commit 291d5c500b
1 changed files with 3 additions and 1 deletions

View File

@ -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) {