Merge pull request #6080 from Helios747/oops

[Qt] Fix bolding of GraphicsChoice.cpp
This commit is contained in:
Anthony 2017-09-20 10:06:32 -07:00 committed by GitHub
commit 5585ac47bf

View File

@ -16,12 +16,9 @@ GraphicsChoice::GraphicsChoice(const QStringList& options, const Config::ConfigI
setCurrentIndex(Config::Get(m_setting)); setCurrentIndex(Config::Get(m_setting));
connect(&Settings::Instance(), &Settings::EmulationStateChanged, [this]() { connect(&Settings::Instance(), &Settings::EmulationStateChanged, [this]() {
if (Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base) QFont bf = font();
{ bf.setBold(Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base);
QFont bf = font(); setFont(bf);
bf.setBold(true);
setFont(bf);
}
}); });
} }