summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/GraphicsInteger.cpp
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2020-09-13 10:39:44 -0400
committerGitHub <noreply@github.com>2020-09-13 10:39:44 -0400
commiteae68194b30610c60f224c676f573de024ed3a78 (patch)
treee955cf211c0393030c79d3c4fa23148b548fb2e7 /Source/Core/DolphinQt/Config/Graphics/GraphicsInteger.cpp
parenta481a529720e59f8339de5af0f33f5e6df9d6686 (diff)
parent2bb7d207b74d35ca435bfc9a47c712996d353056 (diff)
Merge pull request #9076 from iwubcode/qt_graphics_controls_destruction
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);