misc: cleanup unused variables and comments

This commit is contained in:
selsta 2019-12-20 03:37:52 +01:00
parent 500c7ec82e
commit f8262b0d27
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E
6 changed files with 0 additions and 15 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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