remove the space of server address (#804)

This commit is contained in:
HystericalDragon 2023-08-17 19:28:44 +08:00 committed by GitHub
parent d3a5bf162a
commit 7943131c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,7 +342,7 @@ bool DialogEditProfile::onEnd() {
// 左边
ent->bean->name = ui->name->text();
ent->bean->serverAddress = ui->address->text();
ent->bean->serverAddress = ui->address->text().remove(' ');
ent->bean->serverPort = ui->port->text().toInt();
// 右边 stream