aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardModeBootstrap.qml
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2019-09-02 21:32:36 +0000
committerxiphon <xiphon@protonmail.com>2019-09-09 15:24:26 +0000
commit0d247a9b8a2fa6770d1834584eedb109c6ab7e3d (patch)
tree353d9c588cc280c869d2cb07feabd3422e540431 /wizard/WizardModeBootstrap.qml
parenta5b2d5e727c44d03c5f3f96d9726658caa9cdb6d (diff)
downloadmonzero-gui-0d247a9b8a2fa6770d1834584eedb109c6ab7e3d.tar.gz
monzero-gui-0d247a9b8a2fa6770d1834584eedb109c6ab7e3d.tar.xz
monzero-gui-0d247a9b8a2fa6770d1834584eedb109c6ab7e3d.zip
SimpleMode: automatic public nodes discovering and switching
Diffstat (limited to 'wizard/WizardModeBootstrap.qml')
-rw-r--r--wizard/WizardModeBootstrap.qml61
1 files changed, 0 insertions, 61 deletions
diff --git a/wizard/WizardModeBootstrap.qml b/wizard/WizardModeBootstrap.qml
index ba911d63..5b583101 100644
--- a/wizard/WizardModeBootstrap.qml
+++ b/wizard/WizardModeBootstrap.qml
@@ -97,49 +97,6 @@ Rectangle {
text: qsTr("Remain aware of these limitations. <b>Users who prioritize privacy and decentralization must use a full node instead</b>.") + translationManager.emptyString
}
- MoneroComponents.TextPlain {
- text: qsTr("For enhanced node performance you may specify your region:") + translationManager.emptyString
- wrapMode: Text.Wrap
- Layout.topMargin: 8
- Layout.fillWidth: true
-
- font.family: MoneroComponents.Style.fontRegular.name
- font.pixelSize: 16
- color: MoneroComponents.Style.defaultFontColor
- }
-
- GridLayout {
- columns: 3
- columnSpacing: 20
-
- ColumnLayout {
- Layout.fillWidth: true
- spacing: 0
-
- MoneroComponents.StandardDropdown {
- id: regionDropdown
- Layout.fillWidth: true
- dataModel: regionModel
- currentIndex: 0
-
- onChanged: {
- var region = regionModel.get(currentIndex).region;
- persistentSettings.remoteNodeRegion = region;
- }
- }
- }
-
- Item {
- Layout.fillWidth: true
- }
-
- Item {
- Layout.fillWidth: true
- }
-
- z: parent.z + 1
- }
-
MoneroComponents.CheckBox {
id: understoodCheckbox
Layout.topMargin: 20
@@ -184,22 +141,4 @@ Rectangle {
wizardModeBootstrapWarning.understood = false;
understoodCheckbox.checked = false;
}
-
- Component.onCompleted: {
- var region = persistentSettings.remoteNodeRegion;
-
- if(region){
- for(var i = 0; i !== regionDropdown.dataModel.count; i++){
- var item = regionDropdown.dataModel.get(i);
- if(item['region'] === region){
- regionDropdown.currentIndex = i;
- break;
- }
- }
- } else {
- regionDropdown.currentIndex = 0;
- }
-
- regionDropdown.update();
- }
}