mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Merge pull request #7841 from iwubcode/config-mgr-onion
Config: Move the 'Display' settings from ConfigManager to the layered config system
This commit is contained in:
@ -220,13 +220,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
|
||||
|
Reference in New Issue
Block a user