Replacing checkbox, using default values from component

This commit is contained in:
Sander Ferdinand
2017-12-07 16:35:42 +01:00
committed by moneromooo-monero
parent 5028491ab3
commit af9e4e86f0
9 changed files with 3 additions and 52 deletions

View File

@@ -102,8 +102,6 @@ Rectangle {
checked: persistentSettings.allow_background_mining
onClicked: {persistentSettings.allow_background_mining = checked}
text: qsTr("Background mining (experimental)") + translationManager.emptyString
checkedIcon: "../images/checkedVioletIcon.png"
uncheckedIcon: "../images/uncheckedIcon.png"
}
}
@@ -118,8 +116,6 @@ Rectangle {
checked: !persistentSettings.miningIgnoreBattery
onClicked: {persistentSettings.miningIgnoreBattery = !checked}
text: qsTr("Enable mining when running on battery") + translationManager.emptyString
checkedIcon: "../images/checkedVioletIcon.png"
uncheckedIcon: "../images/uncheckedIcon.png"
}
}