mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-27 00:00:07 -06:00
port InterfaceSettings to the new config system.
This commit is contained in:
@ -335,9 +335,13 @@ int main(int argc, char** argv)
|
||||
|
||||
systemThemeName = new QString(QApplication::style()->objectName());
|
||||
|
||||
if (!Config::UITheme.empty())
|
||||
{
|
||||
QApplication::setStyle(QString::fromStdString(Config::UITheme));
|
||||
Config::Table cfg = Config::GetGlobalTable();
|
||||
QString uitheme = cfg.GetQString("UITheme");
|
||||
if (!uitheme.isEmpty())
|
||||
{
|
||||
QApplication::setStyle(uitheme);
|
||||
}
|
||||
}
|
||||
|
||||
/* mainWindow = new MainWindow();
|
||||
|
Reference in New Issue
Block a user