diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-20 13:30:08 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-22 10:26:27 +0200 |
commit | 777cb40dae338e79e8f4160882b7c37900b42238 (patch) | |
tree | 73cddaa66c04a4adde2b571e2ec12f2c85863d95 /accounts | |
parent | bc64551d4083e47fad3deefd69f66b745bbbee2d (diff) | |
download | kube-777cb40dae338e79e8f4160882b7c37900b42238.tar.gz kube-777cb40dae338e79e8f4160882b7c37900b42238.zip |
Fix kolabnow accountname to email address
Diffstat (limited to 'accounts')
-rw-r--r-- | accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml b/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml index 6551e202..8d8b6665 100644 --- a/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml +++ b/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml | |||
@@ -25,7 +25,7 @@ import org.kube.accounts.kolabnow 1.0 as KolabnowAccount | |||
25 | Item { | 25 | Item { |
26 | 26 | ||
27 | property string accountId | 27 | property string accountId |
28 | property string heading: qsTr("Connect your KolabNOW account") | 28 | property string heading: qsTr("Connect your Kolab Now account") |
29 | property string subheadline: qsTr("To let Kube access your account, fill in email address, username, password and give the account a title that will be displayed inside Kube.") | 29 | property string subheadline: qsTr("To let Kube access your account, fill in email address, username, password and give the account a title that will be displayed inside Kube.") |
30 | property bool valid: accountField.acceptableInput && nameField.acceptableInput && emailField.acceptableInput && pwField.acceptableInput | 30 | property bool valid: accountField.acceptableInput && nameField.acceptableInput && emailField.acceptableInput && pwField.acceptableInput |
31 | 31 | ||
@@ -57,20 +57,6 @@ Item { | |||
57 | rowSpacing: Kube.Units.largeSpacing | 57 | rowSpacing: Kube.Units.largeSpacing |
58 | 58 | ||
59 | Kube.Label { | 59 | Kube.Label { |
60 | text: qsTr("Title of Account") | ||
61 | Layout.alignment: Qt.AlignRight | ||
62 | } | ||
63 | Kube.RequiredTextField { | ||
64 | id: accountField | ||
65 | Layout.fillWidth: true | ||
66 | placeholderText: qsTr("E.g. \"Work\", \"Home\" that will be displayed in Kube as name") | ||
67 | text: kolabnowSettings.accountName | ||
68 | onTextChanged: { | ||
69 | kolabnowSettings.accountName = text | ||
70 | } | ||
71 | } | ||
72 | |||
73 | Kube.Label { | ||
74 | text: qsTr("Name") | 60 | text: qsTr("Name") |
75 | Layout.alignment: Qt.AlignRight | 61 | Layout.alignment: Qt.AlignRight |
76 | } | 62 | } |
@@ -95,6 +81,7 @@ Item { | |||
95 | text: kolabnowSettings.emailAddress | 81 | text: kolabnowSettings.emailAddress |
96 | onTextChanged: { | 82 | onTextChanged: { |
97 | kolabnowSettings.emailAddress = text | 83 | kolabnowSettings.emailAddress = text |
84 | kolabnowSettings.accountName = text | ||
98 | } | 85 | } |
99 | placeholderText: qsTr("Your email address") | 86 | placeholderText: qsTr("Your email address") |
100 | } | 87 | } |