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/GraphicsSlider.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/GraphicsSlider.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/Config/Graphics/GraphicsSlider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/Config/Graphics/GraphicsSlider.cpp b/Source/Core/DolphinQt2/Config/Graphics/GraphicsSlider.cpp index 0e40e4164d..4561aa22eb 100644 --- a/Source/Core/DolphinQt2/Config/Graphics/GraphicsSlider.cpp +++ b/Source/Core/DolphinQt2/Config/Graphics/GraphicsSlider.cpp @@ -19,7 +19,7 @@ GraphicsSlider::GraphicsSlider(int minimum, int maximum, const Config::ConfigInf connect(this, &GraphicsSlider::valueChanged, this, &GraphicsSlider::Update); - 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); |
