Clean up unused includes in settings, fix typo

main
Chris Rizzitello 2023-10-04 10:21:24 -04:00 committed by jkennedyvz
parent 9c8b6dd266
commit d1c85440de
1 changed files with 1 additions and 4 deletions

View File

@ -17,10 +17,7 @@
#include <QString> #include <QString>
#include "appconfig.h" #include "appconfig.h"
#include "dtos/checkConnection.h"
#include "helpers/http_status.h"
#include "helpers/netman.h" #include "helpers/netman.h"
#include "helpers/cleanupreply.h"
#include "hotkeymanager.h" #include "hotkeymanager.h"
#include "components/custom_keyseq_edit/singlestrokekeysequenceedit.h" #include "components/custom_keyseq_edit/singlestrokekeysequenceedit.h"
#include "components/loading_button/loadingbutton.h" #include "components/loading_button/loadingbutton.h"
@ -232,7 +229,7 @@ void Settings::onTestConnectionClicked() {
if (hostPathTextBox->text().isEmpty() if (hostPathTextBox->text().isEmpty()
|| accessKeyTextBox->text().isEmpty() || accessKeyTextBox->text().isEmpty()
|| secretKeyTextBox->text().isEmpty()) { || secretKeyTextBox->text().isEmpty()) {
connStatusLabel->setText(tr("Please set Access Key, Secret key and Host Path first.")); connStatusLabel->setText(tr("Please set Access Key, Secret key and Server URL first."));
return; return;
} }
NetMan::testConnection(hostPathTextBox->text(), accessKeyTextBox->text(), secretKeyTextBox->text()); NetMan::testConnection(hostPathTextBox->text(), accessKeyTextBox->text(), secretKeyTextBox->text());