summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-25 18:19:58 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-25 18:19:58 +0200
commitf0ecf6eee6d6c9270f2e21f4f57af3f91044bd6c (patch)
tree362b97bd8b3e1a44b373a28efaa6ef67207e5ed9 /include
parentUpdate system theme (diff)
downloadnheko-f0ecf6eee6d6c9270f2e21f4f57af3f91044bd6c.tar.xz
Add dark theme
Diffstat (limited to 'include')
-rw-r--r--include/UserSettingsPage.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/UserSettingsPage.h b/include/UserSettingsPage.h
index 3db15eef..9e47254f 100644
--- a/include/UserSettingsPage.h
+++ b/include/UserSettingsPage.h
@@ -39,7 +39,7 @@ public:
         void setTheme(QString theme) { theme_ = theme; }
         void setTray(bool state) { isTrayEnabled_ = state; }
 
-        QString theme() const { return !theme_.isEmpty() ? theme_ : "default"; }
+        QString theme() const { return !theme_.isEmpty() ? theme_ : "light"; }
         bool isTrayEnabled() const { return isTrayEnabled_; }
 
 private:
@@ -72,6 +72,8 @@ signals:
         void trayOptionChanged(bool value);
 
 private:
+        void restoreThemeCombo() const;
+
         // Layouts
         QVBoxLayout *topLayout_;
         QVBoxLayout *mainLayout_;