aboutsummaryrefslogtreecommitdiff
path: root/pages/settings
diff options
context:
space:
mode:
authordsc <dsc@xmr.pm>2020-07-08 22:46:38 +0200
committerdsc <dsc@xmr.pm>2020-07-08 22:50:48 +0200
commitb22fb24e478da0c645eb9dab405d71c0b3a61e02 (patch)
tree6c2330dbdf62b4ef711de9ba90bf96de6732f70b /pages/settings
parentb7b12212217ebc5d6fe9d1f49b7c3abed42449da (diff)
downloadmonzero-gui-b22fb24e478da0c645eb9dab405d71c0b3a61e02.tar.gz
monzero-gui-b22fb24e478da0c645eb9dab405d71c0b3a61e02.tar.xz
monzero-gui-b22fb24e478da0c645eb9dab405d71c0b3a61e02.zip
Donate to Monero feature
Diffstat (limited to 'pages/settings')
-rw-r--r--pages/settings/SettingsInfo.qml47
1 files changed, 29 insertions, 18 deletions
diff --git a/pages/settings/SettingsInfo.qml b/pages/settings/SettingsInfo.qml
index 7fbb45e6..703e4b6b 100644
--- a/pages/settings/SettingsInfo.qml
+++ b/pages/settings/SettingsInfo.qml
@@ -381,27 +381,38 @@ Rectangle {
}
}
- // Copy info to clipboard
- MoneroComponents.StandardButton {
- small: true
- text: qsTr("Copy to clipboard") + translationManager.emptyString
- onClicked: {
- var data = "";
- data += "GUI version: " + Version.GUI_VERSION + " (Qt " + qtRuntimeVersion + ")";
- data += "\nEmbedded Monero version: " + Version.GUI_MONERO_VERSION;
- data += "\nWallet path: " + walletLocation.walletPath;
+ RowLayout {
+ spacing: 20;
- data += "\nWallet creation height: ";
- if(currentWallet)
- data += currentWallet.walletCreationHeight;
+ MoneroComponents.StandardButton {
+ small: true
+ text: qsTr("Copy to clipboard") + translationManager.emptyString
+ onClicked: {
+ var data = "";
+ data += "GUI version: " + Version.GUI_VERSION + " (Qt " + qtRuntimeVersion + ")";
+ data += "\nEmbedded Monero version: " + Version.GUI_MONERO_VERSION;
+ data += "\nWallet path: " + walletLocation.walletPath;
- data += "\nWallet log path: " + walletLogPath;
- data += "\nWallet mode: " + walletModeString;
- data += "\nGraphics: " + isOpenGL ? "OpenGL" : "Low graphics mode";
+ data += "\nWallet creation height: ";
+ if(currentWallet)
+ data += currentWallet.walletCreationHeight;
- console.log("Copied to clipboard");
- clipboard.setText(data);
- appWindow.showStatusMessage(qsTr("Copied to clipboard"), 3);
+ data += "\nWallet log path: " + walletLogPath;
+ data += "\nWallet mode: " + walletModeString;
+ data += "\nGraphics: " + isOpenGL ? "OpenGL" : "Low graphics mode";
+
+ console.log("Copied to clipboard");
+ clipboard.setText(data);
+ appWindow.showStatusMessage(qsTr("Copied to clipboard"), 3);
+ }
+ }
+
+ MoneroComponents.StandardButton {
+ small: true
+ text: qsTr("Donate to Monero") + translationManager.emptyString
+ onClicked: {
+ middlePanel.sendTo("888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H", "", "Donation to Monero Core Team");
+ }
}
}
}