Add option to disable system tray integration

Implements #59
This commit is contained in:
Tobias Fella
2021-02-11 22:52:46 +01:00
parent 3979cf59ce
commit 0ca2eb4008
3 changed files with 28 additions and 4 deletions

View File

@@ -16,6 +16,15 @@ Kirigami.ScrollablePage {
title: i18n("Settings")
Kirigami.FormLayout {
QQC2.CheckBox {
Kirigami.FormData.label: i18nc("General settings:")
text: i18n("Close to sytem tray")
checked: Config.systemTray
onToggled: {
Config.systemTray = checked
Config.save()
}
}
QQC2.CheckBox {
// TODO: When there are enough notification and timeline event
// settings, make 2 separate groups with FormData labels.