From a34efeddcf12287ab7b4122983f502303dbe2288 Mon Sep 17 00:00:00 2001 From: Jacob Brydolf Date: Fri, 28 Oct 2016 22:01:53 +0200 Subject: [PATCH] settings: remove daemon connection check --- pages/Settings.qml | 43 ------------------------------------------- 1 file changed, 43 deletions(-) diff --git a/pages/Settings.qml b/pages/Settings.qml index 8bfb4d2e..f1c6d91c 100644 --- a/pages/Settings.qml +++ b/pages/Settings.qml @@ -56,15 +56,6 @@ Rectangle { daemonAddress = persistentSettings.daemon_address.split(":"); console.log("address: " + persistentSettings.daemon_address) // try connecting to daemon - var connectedToDaemon = currentWallet.connectToDaemon(); - - if(!connectedToDaemon){ - console.log("not connected"); - //TODO: Print error? - //daemonStatusText.text = qsTr("Unable to connect to Daemon.") - //daemonStatusText.visible = true - } - } @@ -239,40 +230,6 @@ Rectangle { } - - RowLayout { - id: daemonStatusRow - - Layout.fillWidth: true - - Text { - id: daemonStatusText - font.family: "Arial" - font.pixelSize: 18 - wrapMode: Text.Wrap - textFormat: Text.RichText - horizontalAlignment: Text.AlignHCenter - color: "#FF0000" - visible: true //!currentWallet.connected - } - -// StandardButton { -// id: checkConnectionButton -// anchors.left: daemonStatusText.right -// anchors.leftMargin: 30 -// width: 90 -// text: qsTr("Check again") + translationManager.emptyString -// shadowReleasedColor: "#FF4304" -// shadowPressedColor: "#B32D00" -// releasedColor: "#FF6C3C" -// pressedColor: "#FF4304" -// visible: true -// onClicked: { -// checkDaemonConnection(); -// } -// } - } - }