Merge pull request #1028 from amnezia-vpn/feature/copy-mail-button
feature: added 'copy mail' button on about page
This commit is contained in:
commit
03078236ab
1 changed files with 3 additions and 1 deletions
|
@ -120,7 +120,7 @@ PageType {
|
||||||
id: mailButton
|
id: mailButton
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
text: qsTr("Mail")
|
text: qsTr("support@amnezia.org")
|
||||||
descriptionText: qsTr("For reviews and bug reports")
|
descriptionText: qsTr("For reviews and bug reports")
|
||||||
leftImageSource: "qrc:/images/controls/mail.svg"
|
leftImageSource: "qrc:/images/controls/mail.svg"
|
||||||
|
|
||||||
|
@ -128,6 +128,8 @@ PageType {
|
||||||
parentFlickable: fl
|
parentFlickable: fl
|
||||||
|
|
||||||
clickedFunction: function() {
|
clickedFunction: function() {
|
||||||
|
GC.copyToClipBoard(text)
|
||||||
|
PageController.showNotificationMessage(qsTr("Copied"))
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue