Avoid logging addresses and other sensitive data

This commit is contained in:
Sander Ferdinand 2018-03-27 20:47:15 +02:00 committed by moneromooo-monero
parent b35d60db2d
commit 9afaa7cf0f
4 changed files with 6 additions and 6 deletions

View file

@ -242,7 +242,7 @@ ListView {
} }
onClicked: { onClicked: {
if(parent.address){ if(parent.address){
console.log(parent.address + " copied to clipboard"); console.log("Address copied to clipboard");
clipboard.setText(parent.address); clipboard.setText(parent.address);
appWindow.showStatusMessage(qsTr("Address copied to clipboard"),3) appWindow.showStatusMessage(qsTr("Address copied to clipboard"),3)
} }

View file

@ -82,7 +82,7 @@ Rectangle{
} }
onClicked: { onClicked: {
if(copyValue){ if(copyValue){
console.log(copyValue + " copied to clipboard"); console.log("Copied to clipboard");
clipboard.setText(copyValue); clipboard.setText(copyValue);
appWindow.showStatusMessage(qsTr("Copied to clipboard"),3) appWindow.showStatusMessage(qsTr("Copied to clipboard"),3)
} }

View file

@ -119,9 +119,9 @@ Item {
anchors.right: parent.right anchors.right: parent.right
onClicked: { onClicked: {
if (input.text.length > 0) { if (input.text.length > 0) {
console.log(input.text + " copied to clipboard") console.log("Copied to clipboard");
clipboard.setText(input.text) clipboard.setText(input.text);
appWindow.showStatusMessage(qsTr("Copied to clipboard"),3) appWindow.showStatusMessage(qsTr("Copied to clipboard"), 3);
} }
} }
visible: copyButton && input.text !== "" visible: copyButton && input.text !== ""

View file

@ -86,7 +86,7 @@ ColumnLayout {
anchors.rightMargin: labelButton.visible? 4 : 0 anchors.rightMargin: labelButton.visible? 4 : 0
onClicked: { onClicked: {
if (multiLine.text.length > 0) { if (multiLine.text.length > 0) {
console.log(multiLine.text + " copied to clipboard"); console.log("Copied to clipboard");
clipboard.setText(multiLine.text); clipboard.setText(multiLine.text);
appWindow.showStatusMessage(qsTr("Copied to clipboard"), 3); appWindow.showStatusMessage(qsTr("Copied to clipboard"), 3);
} }