summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/GraphicsInteger.cpp
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2020-09-12 17:06:17 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2020-09-12 17:35:58 -0500
commita83bf8bc59ee56bc7b6574c749961fd115004143 (patch)
treee2bb8794c82ba2899ea41efcdfe4f7c106c4b715 /Source/Core/DolphinQt/Config/Graphics/GraphicsInteger.cpp
parentb1fecbb71ce256d7c70963414a30501570c2e871 (diff)
DolphinQt: properly remove slot connection for ConfigChange when object is destructed
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GraphicsInteger.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/Graphics/GraphicsInteger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GraphicsInteger.cpp b/Source/Core/DolphinQt/Config/Graphics/GraphicsInteger.cpp
index 7c81634248..b69f02ecdb 100644
--- a/Source/Core/DolphinQt/Config/Graphics/GraphicsInteger.cpp
+++ b/Source/Core/DolphinQt/Config/Graphics/GraphicsInteger.cpp
@@ -21,7 +21,7 @@ GraphicsInteger::GraphicsInteger(int minimum, int maximum, const Config::Info<in
setValue(Config::Get(setting));
connect(this, qOverload<int>(&GraphicsInteger::valueChanged), this, &GraphicsInteger::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);