mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00: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:
commit
6ea43235d5
15 changed files with 83 additions and 100 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue