mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
DolphinQt2: Settings: emit ThemeChanged signal
This commit is contained in:
@ -27,6 +27,12 @@ Settings& Settings::Instance()
|
||||
return settings;
|
||||
}
|
||||
|
||||
void Settings::SetThemeName(const QString& theme_name)
|
||||
{
|
||||
SConfig::GetInstance().theme_name = theme_name.toStdString();
|
||||
emit ThemeChanged();
|
||||
}
|
||||
|
||||
QString Settings::GetThemeDir() const
|
||||
{
|
||||
return QString::fromStdString(File::GetThemeDir(SConfig::GetInstance().theme_name));
|
||||
|
Reference in New Issue
Block a user