summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp
diff options
context:
space:
mode:
authorMichael M <mchtly@gmail.com>2017-09-20 09:33:52 -0700
committerLéo Lam <leo@innovatetechnologi.es>2017-09-25 21:48:13 +0200
commit9245210c49f76856a30ea8bb077d97a8af0ee711 (patch)
tree09a166fe04bff9b1729d2bb93e727dd39c81fbf1 /Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp
parenta334ec3daa11b0d58ff13486e9b6ce40bd1a7554 (diff)
Qt: bold graphics settings on ConfigChanged, not EmulationStateChanged
EmulationStateChanged is functionally correct right now, but ConfigChanged expresses more semantically why the config setting gets re-read and the widgets updated.
Diffstat (limited to 'Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp')
-rw-r--r--Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp b/Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp
index 25d390be19..c6aacd3d72 100644
--- a/Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp
+++ b/Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp
@@ -16,7 +16,7 @@ GraphicsBool::GraphicsBool(const QString& label, const Config::ConfigInfo<bool>&
connect(this, &QCheckBox::toggled, this, &GraphicsBool::Update);
setChecked(Config::Get(m_setting) ^ reverse);
- connect(&Settings::Instance(), &Settings::EmulationStateChanged, [this]() {
+ connect(&Settings::Instance(), &Settings::ConfigChanged, [this] {
QFont bf = font();
bf.setBold(Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base);
setFont(bf);