Move settings to edit->settings

This commit is contained in:
Aditya Kulkarni
2018-11-05 12:20:24 -08:00
parent add9421ab9
commit 63222c0d12

View File

@@ -43,7 +43,7 @@ void ConnectionLoader::loadConnection() {
QString explanation = QString()
% "A zcash.conf was not found on this machine.\n\n"
% "If you are connecting to a remote/non-standard node "
% "please set the host/port and user/password in the File->Settings menu.";
% "please set the host/port and user/password in the Edit->Settings menu.";
showError(explanation);
doRPCSetConnection(nullptr);
@@ -105,13 +105,13 @@ void ConnectionLoader::refreshZcashdState(Connection* connection) {
% (isZcashConfFound ? "A zcash.conf file was found, but a" : "A")
% " connection to zcashd could not be established.\n\n"
% "If you are connecting to a remote/non-standard node "
% "please set the host/port and user/password in the File->Settings menu";
% "please set the host/port and user/password in the Edit->Settings menu";
this->showError(explanation);
} else if (err == QNetworkReply::NetworkError::AuthenticationRequiredError) {
QString explanation = QString()
% "Authentication failed. The username / password you specified was "
% "not accepted by zcashd. Try changing it in the File->Settings menu";
% "not accepted by zcashd. Try changing it in the Edit->Settings menu";
this->showError(explanation);
} else if (err == QNetworkReply::NetworkError::InternalServerError && !res.is_discarded()) {