From e327de2ca9b4b60a94e3df6c5a70568233ccd678 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Sun, 21 Jun 2020 23:13:34 +0200 Subject: Adds 'OS Default' theme. --- src/settingsdialog.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/settingsdialog.cpp') diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp index 3c7f9d4..f2c6307 100644 --- a/src/settingsdialog.cpp +++ b/src/settingsdialog.cpp @@ -25,13 +25,14 @@ SettingsDialog::SettingsDialog(QWidget *parent) : static_assert(DocumentStyle::AutoLightTheme == 2); this->ui->auto_theme->clear(); - this->ui->auto_theme->addItem("Disabled", QVariant::fromValue(DocumentStyle::Fixed)); - this->ui->auto_theme->addItem("Dark Theme", QVariant::fromValue(DocumentStyle::AutoDarkTheme)); - this->ui->auto_theme->addItem("Light Theme", QVariant::fromValue(DocumentStyle::AutoLightTheme)); + this->ui->auto_theme->addItem(tr("Disabled"), QVariant::fromValue(DocumentStyle::Fixed)); + this->ui->auto_theme->addItem(tr("Dark Theme"), QVariant::fromValue(DocumentStyle::AutoDarkTheme)); + this->ui->auto_theme->addItem(tr("Light Theme"), QVariant::fromValue(DocumentStyle::AutoLightTheme)); this->ui->ui_theme->clear(); - this->ui->ui_theme->addItem("Light", QVariant::fromValue(int(Theme::light))); - this->ui->ui_theme->addItem("Dark", QVariant::fromValue(int(Theme::dark))); + this->ui->ui_theme->addItem(tr("OS Default"), QVariant::fromValue(int(Theme::os_default))); + this->ui->ui_theme->addItem(tr("Light"), QVariant::fromValue(int(Theme::light))); + this->ui->ui_theme->addItem(tr("Dark"), QVariant::fromValue(int(Theme::dark))); setGeminiStyle(DocumentStyle { }); -- cgit v1.2.3