summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.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/GraphicsChoice.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/GraphicsChoice.cpp')
-rw-r--r--Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp b/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp
index 76655bb350..7199b2302c 100644
--- a/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp
+++ b/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp
@@ -15,7 +15,7 @@ GraphicsChoice::GraphicsChoice(const QStringList& options, const Config::ConfigI
&GraphicsChoice::Update);
setCurrentIndex(Config::Get(m_setting));
- 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);