Browse Source

forgot to save some fixes in connection.cpp

pull/133/head
D 10 months ago
parent
commit
3dad098346
  1. 4
      src/connection.cpp

4
src/connection.cpp

@ -637,7 +637,7 @@ void ConnectionLoader::refreshHushdState(Connection *connection, std::function<v
"not accepted by hushd. Try changing it in the Edit->Settings menu"); "not accepted by hushd. Try changing it in the Edit->Settings menu");
if (isHSC) if (isHSC)
{ {
std::string = auth_failed = "Authentication failed. The username / password you specified was not " std::string auth_failed = "Authentication failed. The username / password you specified was not "
"accepted by " + "accepted by " +
HSC_name + "d. Try changing it in the Edit->Settings menu"; HSC_name + "d. Try changing it in the Edit->Settings menu";
explanation = QString() % explanation = QString() %
@ -959,7 +959,7 @@ std::shared_ptr<ConnectionConfig> ConnectionLoader::autoDetectHushConf()
{ {
if (isHSC) if (isHSC)
{ {
hushconf->port = HSC_port; hushconf->port = QString::fromStdString(HSC_port);
} }
else else
{ {

Loading…
Cancel
Save