diff options
| author | Anthony <Helios747@users.noreply.github.com> | 2018-05-07 09:53:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-07 09:53:20 -0700 |
| commit | e62c26c34b0f69a40d903fa0c193a2b0bda9ac93 (patch) | |
| tree | 36f09dad88e1491038a30d381d090523ae60dc45 /Source/Core/DolphinQt2/Config/Graphics/GeneralWidget.cpp | |
| parent | cd9420df7ee2683409100ff41c16f3bb594b7ba6 (diff) | |
| parent | a2448c5b66c6826fbdabe04d7828d55843d329d6 (diff) | |
Merge pull request #6781 from spycrab/qt_rtm_addendum
Qt/GeneralWidget: Various fixes
Diffstat (limited to 'Source/Core/DolphinQt2/Config/Graphics/GeneralWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/Config/Graphics/GeneralWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt2/Config/Graphics/GeneralWidget.cpp b/Source/Core/DolphinQt2/Config/Graphics/GeneralWidget.cpp index b466740466..e78985321c 100644 --- a/Source/Core/DolphinQt2/Config/Graphics/GeneralWidget.cpp +++ b/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); |
