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/GraphicsSlider.cpp | |
| parent | b1fecbb71ce256d7c70963414a30501570c2e871 (diff) | |
DolphinQt: properly remove slot connection for ConfigChange when object is destructed
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GraphicsSlider.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Graphics/GraphicsSlider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GraphicsSlider.cpp b/Source/Core/DolphinQt/Config/Graphics/GraphicsSlider.cpp index 48d1c59b8b..350873c570 100644 --- a/Source/Core/DolphinQt/Config/Graphics/GraphicsSlider.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/GraphicsSlider.cpp @@ -21,7 +21,7 @@ GraphicsSlider::GraphicsSlider(int minimum, int maximum, const Config::Info<int> connect(this, &GraphicsSlider::valueChanged, this, &GraphicsSlider::Update); - 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); |
