diff options
| author | Anthony <Helios747@users.noreply.github.com> | 2017-09-20 10:06:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-20 10:06:32 -0700 |
| commit | 5585ac47bf303a4cc85db743b03dd05fb8d3f983 (patch) | |
| tree | c596e15bc9746a454920f8d301f01459131447e9 /Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp | |
| parent | 10b3f02385dccf03888efd0d6a9b1e0e7871fb3d (diff) | |
| parent | 47a2a16b77e1d102d477a51db2eb34f77ada4ca4 (diff) | |
Merge pull request #6080 from Helios747/oops
[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); }); } |
