summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Settings.cpp
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2019-03-02 22:41:50 -0600
committeriwubcode <iwubcode@users.noreply.github.com>2019-03-30 18:43:02 -0500
commit840afc2ad4ee9ec633e0735e2f9ccd45f4b0f2d5 (patch)
tree7834c401660a788f073858372381ac3972c4c67b /Source/Core/DolphinQt/Settings.cpp
parent735a705e4dd9f535dc529e0a7eb0d96ba5982be9 (diff)
Config: Move the 'Display' settings from ConfigManager to the layered config system
Diffstat (limited to 'Source/Core/DolphinQt/Settings.cpp')
-rw-r--r--Source/Core/DolphinQt/Settings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/Settings.cpp b/Source/Core/DolphinQt/Settings.cpp
index 61be8ff8c0..15bc803525 100644
--- a/Source/Core/DolphinQt/Settings.cpp
+++ b/Source/Core/DolphinQt/Settings.cpp
@@ -219,13 +219,13 @@ void Settings::SetKeepWindowOnTop(bool top)
if (IsKeepWindowOnTopEnabled() == top)
return;
- SConfig::GetInstance().bKeepWindowOnTop = top;
+ Config::SetBaseOrCurrent(Config::MAIN_KEEP_WINDOW_ON_TOP, top);
emit KeepWindowOnTopChanged(top);
}
bool Settings::IsKeepWindowOnTopEnabled() const
{
- return SConfig::GetInstance().bKeepWindowOnTop;
+ return Config::Get(Config::MAIN_KEEP_WINDOW_ON_TOP);
}
int Settings::GetVolume() const