aboutsummaryrefslogtreecommitdiff
path: root/src/settingsdialog.cpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-21 23:13:34 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-21 23:13:34 +0200
commite327de2ca9b4b60a94e3df6c5a70568233ccd678 (patch)
tree4690ffc1e25e6cc4589a01e4ee4c61fd055c3ef8 /src/settingsdialog.cpp
parent8efb66c23eedd839e3e5ebe8a19668198574e686 (diff)
downloadkristall-e327de2ca9b4b60a94e3df6c5a70568233ccd678.tar.gz
Adds 'OS Default' theme.
Diffstat (limited to 'src/settingsdialog.cpp')
-rw-r--r--src/settingsdialog.cpp11
1 files changed, 6 insertions, 5 deletions
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<int>(DocumentStyle::Fixed));
- this->ui->auto_theme->addItem("Dark Theme", QVariant::fromValue<int>(DocumentStyle::AutoDarkTheme));
- this->ui->auto_theme->addItem("Light Theme", QVariant::fromValue<int>(DocumentStyle::AutoLightTheme));
+ this->ui->auto_theme->addItem(tr("Disabled"), QVariant::fromValue<int>(DocumentStyle::Fixed));
+ this->ui->auto_theme->addItem(tr("Dark Theme"), QVariant::fromValue<int>(DocumentStyle::AutoDarkTheme));
+ this->ui->auto_theme->addItem(tr("Light Theme"), QVariant::fromValue<int>(DocumentStyle::AutoLightTheme));
this->ui->ui_theme->clear();
- this->ui->ui_theme->addItem("Light", QVariant::fromValue<int>(int(Theme::light)));
- this->ui->ui_theme->addItem("Dark", QVariant::fromValue<int>(int(Theme::dark)));
+ this->ui->ui_theme->addItem(tr("OS Default"), QVariant::fromValue<int>(int(Theme::os_default)));
+ this->ui->ui_theme->addItem(tr("Light"), QVariant::fromValue<int>(int(Theme::light)));
+ this->ui->ui_theme->addItem(tr("Dark"), QVariant::fromValue<int>(int(Theme::dark)));
setGeminiStyle(DocumentStyle { });