mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 20:40:27 +00:00
Avoid logging addresses and other sensitive data
This commit is contained in:
parent
b35d60db2d
commit
9afaa7cf0f
4 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 !== ""
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue