mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Config: Move the 'Display' settings from ConfigManager to the layered config system
This commit is contained in:
parent
735a705e4d
commit
840afc2ad4
15 changed files with 83 additions and 100 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue