Skip to content

Commit

Permalink
Move settings to edit->settings
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapk00 committed Nov 5, 2018
1 parent add9421 commit 63222c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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()) {
Expand Down

0 comments on commit 63222c0

Please sign in to comment.