diff options
| author | Michael M <mchtly@gmail.com> | 2017-09-20 09:33:52 -0700 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-09-25 21:48:13 +0200 |
| commit | 9245210c49f76856a30ea8bb077d97a8af0ee711 (patch) | |
| tree | 09a166fe04bff9b1729d2bb93e727dd39c81fbf1 /Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp | |
| parent | a334ec3daa11b0d58ff13486e9b6ce40bd1a7554 (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.cpp | 2 |
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); |
