This commit is contained in:
pokamest 2021-01-10 20:37:57 +03:00
parent 0b8c8835c4
commit 15dc6eaaf8
5 changed files with 47 additions and 17 deletions

View file

@ -243,7 +243,7 @@ bool MainWindow::installServer(ServerCredentials credentials,
timer.start(1000);
ErrorCode e = ServerController::setupServer(credentials, Protocol::Any);
ErrorCode e = ServerController::setupServer(credentials, Protocol::ShadowSocks);
if (e) {
page->setEnabled(true);
button->setVisible(true);
@ -251,8 +251,7 @@ bool MainWindow::installServer(ServerCredentials credentials,
QMessageBox::warning(this, APPLICATION_NAME,
tr("Error occurred while configuring server.") + "\n" +
errorString(e) + "\n" +
tr("See logs for details."));
errorString(e));
return false;
}