mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-25 06:44:59 +00:00
Merge pull request #6080 from Helios747/oops
[Qt] Fix bolding of GraphicsChoice.cpp
This commit is contained in:
commit
5585ac47bf
1 changed files with 3 additions and 6 deletions
|
@ -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();
|
QFont bf = font();
|
||||||
bf.setBold(true);
|
bf.setBold(Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base);
|
||||||
setFont(bf);
|
setFont(bf);
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue