diff options
| author | Anthony <aserna3@gmail.com> | 2017-09-20 09:12:03 -0700 |
|---|---|---|
| committer | Anthony <aserna3@gmail.com> | 2017-09-20 09:13:23 -0700 |
| commit | 47a2a16b77e1d102d477a51db2eb34f77ada4ca4 (patch) | |
| tree | c596e15bc9746a454920f8d301f01459131447e9 /Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp | |
| parent | 10b3f02385dccf03888efd0d6a9b1e0e7871fb3d (diff) | |
[Qt] Fix bolding of GraphicsChoice.cpp
Diffstat (limited to 'Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp b/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp index ccc8d4a9fb..76655bb350 100644 --- a/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp +++ b/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp @@ -16,12 +16,9 @@ GraphicsChoice::GraphicsChoice(const QStringList& options, const Config::ConfigI setCurrentIndex(Config::Get(m_setting)); connect(&Settings::Instance(), &Settings::EmulationStateChanged, [this]() { - if (Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base) - { - QFont bf = font(); - bf.setBold(true); - setFont(bf); - } + QFont bf = font(); + bf.setBold(Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base); + setFont(bf); }); } |
