mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-18 16:54:39 +00:00
misc: cleanup unused variables and comments
This commit is contained in:
parent
500c7ec82e
commit
f8262b0d27
6 changed files with 0 additions and 15 deletions
3
main.qml
3
main.qml
|
@ -1341,12 +1341,9 @@ ApplicationWindow {
|
||||||
property string locale
|
property string locale
|
||||||
property string account_name
|
property string account_name
|
||||||
property string wallet_path
|
property string wallet_path
|
||||||
property bool auto_donations_enabled : false
|
|
||||||
property int auto_donations_amount : 50
|
|
||||||
property bool allow_background_mining : false
|
property bool allow_background_mining : false
|
||||||
property bool miningIgnoreBattery : true
|
property bool miningIgnoreBattery : true
|
||||||
property var nettype: NetworkType.MAINNET
|
property var nettype: NetworkType.MAINNET
|
||||||
property string payment_id
|
|
||||||
property int restore_height : 0
|
property int restore_height : 0
|
||||||
property bool is_trusted_daemon : false
|
property bool is_trusted_daemon : false
|
||||||
property bool is_recovering : false
|
property bool is_recovering : false
|
||||||
|
|
|
@ -73,10 +73,6 @@ Rectangle {
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
|
||||||
spacing: 20
|
spacing: 20
|
||||||
property int labelWidth: 120
|
|
||||||
property int editWidth: 400
|
|
||||||
property int lineEditFontSize: 12
|
|
||||||
property int qrCodeSize: 220
|
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: addressRow
|
id: addressRow
|
||||||
|
|
|
@ -53,7 +53,6 @@ Rectangle {
|
||||||
property string warningContent: ""
|
property string warningContent: ""
|
||||||
property string sendButtonWarning: ""
|
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 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)
|
property bool warningLongPidDescription: descriptionLine.text.match(/^[0-9a-f]{64}$/i)
|
||||||
|
|
||||||
Clipboard { id: clipboard }
|
Clipboard { id: clipboard }
|
||||||
|
|
|
@ -50,10 +50,6 @@ Rectangle{
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
|
||||||
spacing: 0
|
spacing: 0
|
||||||
property int labelWidth: 120
|
|
||||||
property int editWidth: 400
|
|
||||||
property int lineEditFontSize: 14
|
|
||||||
property int buttonWidth: 110
|
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
|
@ -458,7 +458,6 @@ double WalletManager::getPasswordStrength(const QString &password) const
|
||||||
bool WalletManager::saveQrCode(const QString &code, const QString &path) const
|
bool WalletManager::saveQrCode(const QString &code, const QString &path) const
|
||||||
{
|
{
|
||||||
QSize size;
|
QSize size;
|
||||||
// 240 <=> mainLayout.qrCodeSize (Receive.qml)
|
|
||||||
return QRCodeImageProvider::genQrImage(code, &size).scaled(size.expandedTo(QSize(240, 240)), Qt::KeepAspectRatio).save(path, "PNG", 100);
|
return QRCodeImageProvider::genQrImage(code, &size).scaled(size.expandedTo(QSize(240, 240)), Qt::KeepAspectRatio).save(path, "PNG", 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -115,8 +115,6 @@ Rectangle {
|
||||||
// recovery made (restore wallet)
|
// recovery made (restore wallet)
|
||||||
property string walletRestoreMode: 'seed' // seed, keys, qr
|
property string walletRestoreMode: 'seed' // seed, keys, qr
|
||||||
|
|
||||||
// flickable margin
|
|
||||||
property int flickableHeightMargin: 200
|
|
||||||
|
|
||||||
property int layoutScale: {
|
property int layoutScale: {
|
||||||
if(appWindow.width < 800){
|
if(appWindow.width < 800){
|
||||||
|
|
Loading…
Reference in a new issue