diff options
| author | selsta <selsta@sent.at> | 2019-12-20 03:37:52 +0100 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2019-12-20 03:37:52 +0100 |
| commit | f8262b0d275086021d99bf69b58c895d1ef9028f (patch) | |
| tree | 9b7a059bb6cd00e202741132368461455085fc62 | |
| parent | 500c7ec82e1d0d8b0f1fb45e2649a7795d4e5a22 (diff) | |
| download | monzero-gui-f8262b0d275086021d99bf69b58c895d1ef9028f.tar.gz monzero-gui-f8262b0d275086021d99bf69b58c895d1ef9028f.tar.xz monzero-gui-f8262b0d275086021d99bf69b58c895d1ef9028f.zip | |
misc: cleanup unused variables and comments
| -rw-r--r-- | main.qml | 3 | ||||
| -rw-r--r-- | pages/Receive.qml | 4 | ||||
| -rw-r--r-- | pages/Transfer.qml | 1 | ||||
| -rw-r--r-- | pages/settings/SettingsNode.qml | 4 | ||||
| -rw-r--r-- | src/libwalletqt/WalletManager.cpp | 1 | ||||
| -rw-r--r-- | wizard/WizardController.qml | 2 |
6 files changed, 0 insertions, 15 deletions
@@ -1341,12 +1341,9 @@ ApplicationWindow { property string locale property string account_name property string wallet_path - property bool auto_donations_enabled : false - property int auto_donations_amount : 50 property bool allow_background_mining : false property bool miningIgnoreBattery : true property var nettype: NetworkType.MAINNET - property string payment_id property int restore_height : 0 property bool is_trusted_daemon : false property bool is_recovering : false diff --git a/pages/Receive.qml b/pages/Receive.qml index 75ada7f0..04e7676e 100644 --- a/pages/Receive.qml +++ b/pages/Receive.qml @@ -73,10 +73,6 @@ Rectangle { anchors.right: parent.right spacing: 20 - property int labelWidth: 120 - property int editWidth: 400 - property int lineEditFontSize: 12 - property int qrCodeSize: 220 ColumnLayout { id: addressRow diff --git a/pages/Transfer.qml b/pages/Transfer.qml index 9f3a4e97..21d44ed9 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -53,7 +53,6 @@ Rectangle { property string warningContent: "" property string sendButtonWarning: "" property string startLinkText: qsTr("<style type='text/css'>a {text-decoration: none; color: #FF6C3C; font-size: 14px;}</style><font size='2'> (</font><a href='#'>Start daemon</a><font size='2'>)</font>") + translationManager.emptyString - property bool showAdvanced: false property bool warningLongPidDescription: descriptionLine.text.match(/^[0-9a-f]{64}$/i) Clipboard { id: clipboard } diff --git a/pages/settings/SettingsNode.qml b/pages/settings/SettingsNode.qml index 424f51cf..ab828b0a 100644 --- a/pages/settings/SettingsNode.qml +++ b/pages/settings/SettingsNode.qml @@ -50,10 +50,6 @@ Rectangle{ anchors.right: parent.right spacing: 0 - property int labelWidth: 120 - property int editWidth: 400 - property int lineEditFontSize: 14 - property int buttonWidth: 110 Rectangle { Layout.fillWidth: true diff --git a/src/libwalletqt/WalletManager.cpp b/src/libwalletqt/WalletManager.cpp index 5a892f1e..e089a285 100644 --- a/src/libwalletqt/WalletManager.cpp +++ b/src/libwalletqt/WalletManager.cpp @@ -458,7 +458,6 @@ double WalletManager::getPasswordStrength(const QString &password) const bool WalletManager::saveQrCode(const QString &code, const QString &path) const { QSize size; - // 240 <=> mainLayout.qrCodeSize (Receive.qml) return QRCodeImageProvider::genQrImage(code, &size).scaled(size.expandedTo(QSize(240, 240)), Qt::KeepAspectRatio).save(path, "PNG", 100); } diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml index d192bc8d..ddda6209 100644 --- a/wizard/WizardController.qml +++ b/wizard/WizardController.qml @@ -115,8 +115,6 @@ Rectangle { // recovery made (restore wallet) property string walletRestoreMode: 'seed' // seed, keys, qr - // flickable margin - property int flickableHeightMargin: 200 property int layoutScale: { if(appWindow.width < 800){ |
