Commit 423dedae authored by Nate Graham's avatar Nate Graham
Browse files

[kcm] Use explanatory text instead of a button

Having a button within the view to add a new account is convenient, but
also a bit odd since it duplicates the button at the bottom of the
window. Instead, let's just add a subtitle that directs users to that
other button.
parent 0ae8383e
......@@ -73,12 +73,7 @@ ScrollViewKCM {
anchors.centerIn: parent
width: parent.width - (Kirigami.Units.largeSpacing * 4)
text: i18ndc("kaccounts-integration", "A text shown when a user has not yet added any accounts", "No accounts added yet")
helpfulAction: Kirigami.Action {
text: i18nd("kaccounts-integration", "Add New Account...")
icon.name: "contact-new"
onTriggered: kcm.push("AvailableAccounts.qml")
}
explanation: xi18nc("@info", "Click the <interface>Add New Account...</interface> button below to add one")
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment