aboutsummaryrefslogtreecommitdiff
path: root/qml/SettingsPage.qml
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-10-21 20:18:32 +0100
committerlink2xt <link2xt@testrun.org>2021-10-31 11:24:31 +0300
commit48c2a5d7789d742631f8774ad8969d70e5ed0b2e (patch)
treed70550978d8be7dde324ee68fe0a48ee0ad8928a /qml/SettingsPage.qml
parent483ade0aa979ed707d578b4445119ac084659ef0 (diff)
downloadkdeltachat-48c2a5d7789d742631f8774ad8969d70e5ed0b2e.tar.gz
kdeltachat-48c2a5d7789d742631f8774ad8969d70e5ed0b2e.zip
We add a bunch of keyboard shortcuts. F1 to show.
- Also, the play, pause and "save attachment" button have a little emoji before them - Tooltip show for buttons with shorcuts
Diffstat (limited to 'qml/SettingsPage.qml')
-rw-r--r--qml/SettingsPage.qml20
1 files changed, 10 insertions, 10 deletions
diff --git a/qml/SettingsPage.qml b/qml/SettingsPage.qml
index e0cee5f..1e28917 100644
--- a/qml/SettingsPage.qml
+++ b/qml/SettingsPage.qml
@@ -130,33 +130,33 @@ Kirigami.ScrollablePage {
Switch {
text: "SOCKS5 enabled"
- checked: settingsPageRoot.context.getConfig("socks5_enabled") == "1"
- onToggled: settingsPageRoot.context.setConfig("socks5_enabled", checked ? "1" : "0")
+ checked: root.context.getConfig("socks5_enabled") == "1"
+ onToggled: root.context.setConfig("socks5_enabled", checked ? "1" : "0")
}
TextField {
Kirigami.FormData.label: "SOCKS5 host: "
- text: settingsPageRoot.context.getConfig("socks5_host")
- onEditingFinished: settingsPageRoot.context.setConfig("socks5_host", text)
+ text: root.context.getConfig("socks5_host")
+ onEditingFinished: root.context.setConfig("socks5_host", text)
}
TextField {
Kirigami.FormData.label: "SOCKS5 port: "
- text: settingsPageRoot.context.getConfig("socks5_port")
- onEditingFinished: settingsPageRoot.context.setConfig("socks5_port", text)
+ text: root.context.getConfig("socks5_port")
+ onEditingFinished: root.context.setConfig("socks5_port", text)
}
TextField {
Kirigami.FormData.label: "SOCKS5 username: "
- text: settingsPageRoot.context.getConfig("socks5_user")
- onEditingFinished: settingsPageRoot.context.setConfig("socks5_user", text)
+ text: root.context.getConfig("socks5_user")
+ onEditingFinished: root.context.setConfig("socks5_user", text)
}
TextField {
Kirigami.FormData.label: "SOCKS5 password: "
echoMode: TextInput.PasswordEchoOnEdit
- text: settingsPageRoot.context.getConfig("socks5_password")
- onEditingFinished: settingsPageRoot.context.setConfig("socks5_password", text)
+ text: root.context.getConfig("socks5_password")
+ onEditingFinished: root.context.setConfig("socks5_password", text)
}
}