Permalink
Browse files

Qt/GeneralWidget: Various fixes

  • Loading branch information...
spycrab committed May 7, 2018
1 parent 6f0ad84 commit a2448c5b66c6826fbdabe04d7828d55843d329d6
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/DolphinQt2/Config/Graphics/GeneralWidget.cpp
@@ -133,7 +133,7 @@ void GeneralWidget::ConnectWidgets()
connect(m_backend_combo, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged),
[this](int) { SaveSettings(); });
for (QCheckBox* checkbox : {m_enable_fullscreen, m_render_main_window})
for (QCheckBox* checkbox : {m_enable_fullscreen, m_render_main_window, m_autoadjust_window_size})
connect(checkbox, &QCheckBox::toggled, this, &GeneralWidget::SaveSettings);
}
@@ -155,7 +155,7 @@ void GeneralWidget::LoadSettings()
m_enable_fullscreen->setChecked(SConfig::GetInstance().bFullscreen);
// Render to Main Window
SConfig::GetInstance().bRenderToMain = m_render_main_window->isChecked();
m_render_main_window->setChecked(SConfig::GetInstance().bRenderToMain);
// Autoadjust window size
m_autoadjust_window_size->setChecked(SConfig::GetInstance().bRenderWindowAutoSize);

0 comments on commit a2448c5

Please sign in to comment.