diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2020-09-12 17:06:17 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2020-09-12 17:35:58 -0500 |
| commit | a83bf8bc59ee56bc7b6574c749961fd115004143 (patch) | |
| tree | e2bb8794c82ba2899ea41efcdfe4f7c106c4b715 /Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp | |
| parent | b1fecbb71ce256d7c70963414a30501570c2e871 (diff) | |
DolphinQt: properly remove slot connection for ConfigChange when object is destructed
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp b/Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp index efd761416e..4d5eaf6973 100644 --- a/Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp @@ -18,7 +18,7 @@ GraphicsBool::GraphicsBool(const QString& label, const Config::Info<bool>& setti connect(this, &QCheckBox::toggled, this, &GraphicsBool::Update); setChecked(Config::Get(m_setting) ^ reverse); - connect(&Settings::Instance(), &Settings::ConfigChanged, [this] { + connect(&Settings::Instance(), &Settings::ConfigChanged, this, [this] { QFont bf = font(); bf.setBold(Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base); setFont(bf); |
