From 47a2a16b77e1d102d477a51db2eb34f77ada4ca4 Mon Sep 17 00:00:00 2001 From: Anthony Date: Wed, 20 Sep 2017 09:12:03 -0700 Subject: [PATCH] [Qt] Fix bolding of GraphicsChoice.cpp --- .../Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp | 9 +++------ 1 file 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); }); }