From 632423da07a16b3131fd5427aa19d2608538c683 Mon Sep 17 00:00:00 2001 From: dsc Date: Mon, 25 Feb 2019 16:07:03 +0100 Subject: [PATCH] Dont show message on simple mode disconnect/reconnect --- main.qml | 2 +- wizard/WizardCreateWallet2.qml | 2 +- wizard/WizardOpenWallet1.qml | 2 +- wizard/WizardRestoreWallet2.qml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/main.qml b/main.qml index 8ee4d564..35369c15 100644 --- a/main.qml +++ b/main.qml @@ -1791,7 +1791,7 @@ ApplicationWindow { appWindow.disconnectedEpoch = 0; return; }, function(){ - appWindow.showStatusMessage(qsTr("Failed to fetch remote nodes from third-party server."), simpleModeConnectionTimer.interval / 1000); + console.log("Failed to fetch remote nodes from third-party server."); }); } } diff --git a/wizard/WizardCreateWallet2.qml b/wizard/WizardCreateWallet2.qml index 3e304f90..92e8f5b1 100644 --- a/wizard/WizardCreateWallet2.qml +++ b/wizard/WizardCreateWallet2.qml @@ -73,7 +73,7 @@ Rectangle { wizardController.fetchRemoteNodes(function(){ wizardStateView.state = "wizardCreateWallet4"; }, function(){ - appWindow.showStatusMessage(qsTr("Failed to fetch remote nodes from third-party server."), 5); + console.log("Failed to fetch remote nodes from third-party server."); wizardStateView.state = "wizardCreateWallet4"; }); } else { diff --git a/wizard/WizardOpenWallet1.qml b/wizard/WizardOpenWallet1.qml index 8e3f7f52..baa800e2 100644 --- a/wizard/WizardOpenWallet1.qml +++ b/wizard/WizardOpenWallet1.qml @@ -198,7 +198,7 @@ Rectangle { wizardController.fetchRemoteNodes(function(){ wizardController.openWalletFile(moneroAccountsDir + "/" + fileName + "/" + fileName + ".keys"); }, function(){ - appWindow.showStatusMessage(qsTr("Failed to fetch remote nodes from third-party server."), 5); + console.log("Failed to fetch remote nodes from third-party server."); wizardController.openWalletFile(moneroAccountsDir + "/" + fileName + "/" + fileName + ".keys"); }); } else { diff --git a/wizard/WizardRestoreWallet2.qml b/wizard/WizardRestoreWallet2.qml index 1b75672a..e92c5358 100644 --- a/wizard/WizardRestoreWallet2.qml +++ b/wizard/WizardRestoreWallet2.qml @@ -72,7 +72,7 @@ Rectangle { wizardController.fetchRemoteNodes(function(){ wizardStateView.state = "wizardRestoreWallet4"; }, function(){ - appWindow.showStatusMessage(qsTr("Failed to fetch remote nodes from third-party server."), 5); + console.log("Failed to fetch remote nodes from third-party server."); wizardStateView.state = "wizardRestoreWallet4"; }); } else {