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: {
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)
}

View File

@ -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)
}

View File

@ -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 !== ""

View File

@ -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);
}