aboutsummaryrefslogtreecommitdiff
path: root/components/LineEdit.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-03-27 20:47:15 +0200
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-29 23:04:04 +0100
commit9afaa7cf0f4ff3ba954a96b9bfd5f462040d452b (patch)
treecca154e476581f895bc63a825f13f1eea96d89b7 /components/LineEdit.qml
parentb35d60db2d8b7508127e8d365d22a82d58bd9dc6 (diff)
downloadmonzero-gui-9afaa7cf0f4ff3ba954a96b9bfd5f462040d452b.tar.gz
monzero-gui-9afaa7cf0f4ff3ba954a96b9bfd5f462040d452b.tar.xz
monzero-gui-9afaa7cf0f4ff3ba954a96b9bfd5f462040d452b.zip
Avoid logging addresses and other sensitive data
Diffstat (limited to 'components/LineEdit.qml')
-rw-r--r--components/LineEdit.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/LineEdit.qml b/components/LineEdit.qml
index 1711ee56..115b92b3 100644
--- a/components/LineEdit.qml
+++ b/components/LineEdit.qml
@@ -119,9 +119,9 @@ Item {
anchors.right: parent.right
onClicked: {
if (input.text.length > 0) {
- console.log(input.text + " copied to clipboard")
- clipboard.setText(input.text)
- appWindow.showStatusMessage(qsTr("Copied to clipboard"),3)
+ console.log("Copied to clipboard");
+ clipboard.setText(input.text);
+ appWindow.showStatusMessage(qsTr("Copied to clipboard"), 3);
}
}
visible: copyButton && input.text !== ""