diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-03-27 20:47:15 +0200 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-29 23:04:04 +0100 |
| commit | 9afaa7cf0f4ff3ba954a96b9bfd5f462040d452b (patch) | |
| tree | cca154e476581f895bc63a825f13f1eea96d89b7 /components | |
| parent | b35d60db2d8b7508127e8d365d22a82d58bd9dc6 (diff) | |
| download | monzero-gui-9afaa7cf0f4ff3ba954a96b9bfd5f462040d452b.tar.gz monzero-gui-9afaa7cf0f4ff3ba954a96b9bfd5f462040d452b.tar.xz monzero-gui-9afaa7cf0f4ff3ba954a96b9bfd5f462040d452b.zip | |
Avoid logging addresses and other sensitive data
Diffstat (limited to 'components')
| -rw-r--r-- | components/HistoryTable.qml | 2 | ||||
| -rw-r--r-- | components/HistoryTableInnerColumn.qml | 2 | ||||
| -rw-r--r-- | components/LineEdit.qml | 6 | ||||
| -rw-r--r-- | components/LineEditMulti.qml | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/components/HistoryTable.qml b/components/HistoryTable.qml index 660b89d9..2fce34f0 100644 --- a/components/HistoryTable.qml +++ b/components/HistoryTable.qml @@ -242,7 +242,7 @@ ListView { } onClicked: { if(parent.address){ - console.log(parent.address + " copied to clipboard"); + console.log("Address copied to clipboard"); clipboard.setText(parent.address); appWindow.showStatusMessage(qsTr("Address copied to clipboard"),3) } diff --git a/components/HistoryTableInnerColumn.qml b/components/HistoryTableInnerColumn.qml index 61c39deb..23ff766e 100644 --- a/components/HistoryTableInnerColumn.qml +++ b/components/HistoryTableInnerColumn.qml @@ -82,7 +82,7 @@ Rectangle{ } onClicked: { if(copyValue){ - console.log(copyValue + " copied to clipboard"); + console.log("Copied to clipboard"); clipboard.setText(copyValue); appWindow.showStatusMessage(qsTr("Copied to clipboard"),3) } 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 !== "" diff --git a/components/LineEditMulti.qml b/components/LineEditMulti.qml index 8609aaa4..b013156a 100644 --- a/components/LineEditMulti.qml +++ b/components/LineEditMulti.qml @@ -86,7 +86,7 @@ ColumnLayout { anchors.rightMargin: labelButton.visible? 4 : 0 onClicked: { if (multiLine.text.length > 0) { - console.log(multiLine.text + " copied to clipboard"); + console.log("Copied to clipboard"); clipboard.setText(multiLine.text); appWindow.showStatusMessage(qsTr("Copied to clipboard"), 3); } |
