1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 04:02:42 +01:00

Use native theme on macOS, hide Dark Mode toggle

This commit is contained in:
schm1dt ‎ 2024-09-28 15:52:47 +01:00 committed by Megamouse
parent c49ff490bc
commit d11fe09419
2 changed files with 5 additions and 0 deletions

View File

@ -213,7 +213,11 @@ namespace gui
const gui_save rsx_geometry = gui_save(rsx, "geometry", QByteArray());
const gui_save rsx_states = gui_save(rsx, "states", QVariantMap());
#ifdef __APPLE__
const gui_save m_currentStylesheet = gui_save(meta, "currentStylesheet", "native (macOS)");
#else
const gui_save m_currentStylesheet = gui_save(meta, "currentStylesheet", DefaultStylesheet);
#endif
const gui_save m_showDebugTab = gui_save(meta, "showDebugTab", false);
const gui_save m_attachCommandLine = gui_save(meta, "attachCommandLine", false);
const gui_save m_enableUIColors = gui_save(meta, "enableUIColors", false);

View File

@ -69,6 +69,7 @@ welcome_dialog::welcome_dialog(std::shared_ptr<gui_settings> gui_settings, bool
ui->create_applications_menu_shortcut->setText(tr("&Create Start Menu shortcut"));
#elif defined(__APPLE__)
ui->create_applications_menu_shortcut->setText(tr("&Create Launchpad shortcut"));
ui->use_dark_theme->setVisible(false);
#else
ui->create_applications_menu_shortcut->setText(tr("&Create Application Menu shortcut"));
#endif