mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Config: Port remaining Interface settings to new config system.
This commit is contained in:
parent
df0870f79d
commit
d6331c1e71
30 changed files with 135 additions and 162 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include "Common/FileUtil.h"
|
||||
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/Config/MainSettings.h"
|
||||
|
||||
#include "DolphinQt/Settings.h"
|
||||
|
||||
|
@ -52,7 +52,7 @@ QPixmap Resources::GetPixmap(std::string_view name, const QString& dir)
|
|||
|
||||
static QString GetCurrentThemeDir()
|
||||
{
|
||||
return QString::fromStdString(File::GetThemeDir(SConfig::GetInstance().theme_name));
|
||||
return QString::fromStdString(File::GetThemeDir(Config::Get(Config::MAIN_THEME_NAME)));
|
||||
}
|
||||
|
||||
static QString GetResourcesDir()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue