Qt: Remove [Light] from Native theme

It's whatever your system theme is set to, be that light or dark
This commit is contained in:
TellowKrinkle 2022-05-25 15:52:46 -05:00 committed by refractionpcsx2
parent 08089e0654
commit 6b66cd7f29
1 changed files with 16 additions and 4 deletions

View File

@ -21,17 +21,29 @@
#include "SettingWidgetBinder.h"
#include "SettingsDialog.h"
static const char* THEME_NAMES[] = {QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "Native [Light]"),
static const char* THEME_NAMES[] = {
QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "Native"),
QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "Fusion [Light]"),
QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "Dark Fusion (Gray) [Dark]"),
QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "Dark Fusion (Blue) [Dark]"),
QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "Untouched Lagoon (Grayish Green/-Blue ) [Light]"),
QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "Baby Pastel (Pink) [Light]"),
QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "PCSX2 (White/Blue) [Light]"),
QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "Scarlet Devil (Red/Purple) [Dark]"), nullptr};
QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "Scarlet Devil (Red/Purple) [Dark]"),
nullptr
};
static const char* THEME_VALUES[] = {"", "fusion", "darkfusion", "darkfusionblue",
"UntouchedLagoon", "BabyPastel", "PCSX2Blue", "ScarletDevilRed", nullptr};
static const char* THEME_VALUES[] = {
"",
"fusion",
"darkfusion",
"darkfusionblue",
"UntouchedLagoon",
"BabyPastel",
"PCSX2Blue",
"ScarletDevilRed",
nullptr
};
InterfaceSettingsWidget::InterfaceSettingsWidget(SettingsDialog* dialog, QWidget* parent)
: QWidget(parent)