UI: Set default theme to Yami
Note that this adds a new CurrentTheme3 config variable to preserve settings of versions older than 28, making this change safely backward-compatible.
This commit is contained in:
parent
de01cfc063
commit
8ef134be79
3 changed files with 3 additions and 18 deletions
|
|
@ -3055,7 +3055,7 @@ void OBSBasicSettings::SaveGeneralSettings()
|
|||
QString themeData = ui->theme->itemData(themeIndex).toString();
|
||||
|
||||
if (WidgetChanged(ui->theme))
|
||||
config_set_string(GetGlobalConfig(), "General", "CurrentTheme2",
|
||||
config_set_string(GetGlobalConfig(), "General", "CurrentTheme3",
|
||||
QT_TO_UTF8(themeData));
|
||||
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue