diff options
| author | Léo Lam <leo@leolam.fr> | 2020-05-03 14:07:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-03 14:07:41 +0200 |
| commit | 90ba73c6c2cdc6d92bff75f4e66d48b044ebdfac (patch) | |
| tree | 65e612f4bb02ee0d7cea8f5856afd0a52fd66626 /Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp | |
| parent | 8d4e8314a3dcd8680ae81d91fb7e076b4496b43b (diff) | |
| parent | 19da1011648beb324122f36e6da4cd14cc4c7217 (diff) | |
Merge pull request #8787 from leoetlino/config-config
Remove redundant Config prefix from ConfigInfo/ConfigLocation
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp b/Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp index 6a4f25b20f..efd761416e 100644 --- a/Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/GraphicsBool.cpp @@ -12,8 +12,7 @@ #include <QFont> -GraphicsBool::GraphicsBool(const QString& label, const Config::ConfigInfo<bool>& setting, - bool reverse) +GraphicsBool::GraphicsBool(const QString& label, const Config::Info<bool>& setting, bool reverse) : QCheckBox(label), m_setting(setting), m_reverse(reverse) { connect(this, &QCheckBox::toggled, this, &GraphicsBool::Update); @@ -34,7 +33,7 @@ void GraphicsBool::Update() Config::SetBaseOrCurrent(m_setting, static_cast<bool>(isChecked() ^ m_reverse)); } -GraphicsBoolEx::GraphicsBoolEx(const QString& label, const Config::ConfigInfo<bool>& setting, +GraphicsBoolEx::GraphicsBoolEx(const QString& label, const Config::Info<bool>& setting, bool reverse) : QRadioButton(label), m_setting(setting), m_reverse(reverse) { |
