mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
Welcome Dialog: Add ability to set Dark Theme
This commit is contained in:
parent
1e1d6f6437
commit
ecb45ef6df
4 changed files with 31 additions and 0 deletions
|
|
@ -135,10 +135,19 @@ bool gui_application::Init()
|
|||
// Create connects to propagate events throughout Gui.
|
||||
InitializeConnects();
|
||||
|
||||
bool set_dark_theme = false;
|
||||
|
||||
if (m_gui_settings->GetValue(gui::ib_show_welcome).toBool())
|
||||
{
|
||||
welcome_dialog* welcome = new welcome_dialog(m_gui_settings, false);
|
||||
welcome->exec();
|
||||
|
||||
if (welcome->does_user_want_dark_theme())
|
||||
{
|
||||
m_gui_settings->SetValue(gui::m_currentStylesheet, "Darker Style by TheMitoSan");
|
||||
}
|
||||
|
||||
m_gui_settings->sync();
|
||||
}
|
||||
|
||||
// Check maxfiles
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue