Commit ff92e7b4 authored by Laurent Montel's avatar Laurent Montel 😁

Remove space

parent 848f2bc8
...@@ -112,7 +112,7 @@ void ServerSieveSettings::slotUserServerNameChanged() ...@@ -112,7 +112,7 @@ void ServerSieveSettings::slotUserServerNameChanged()
QString ServerSieveSettings::serverName() const QString ServerSieveSettings::serverName() const
{ {
return ui->serverName->text(); return ui->serverName->text().trimmed();
} }
void ServerSieveSettings::setServerName(const QString &name) void ServerSieveSettings::setServerName(const QString &name)
...@@ -132,7 +132,7 @@ void ServerSieveSettings::setPort(int value) ...@@ -132,7 +132,7 @@ void ServerSieveSettings::setPort(int value)
QString ServerSieveSettings::userName() const QString ServerSieveSettings::userName() const
{ {
return ui->userName->text(); return ui->userName->text().trimmed();
} }
void ServerSieveSettings::setUserName(const QString &name) void ServerSieveSettings::setUserName(const QString &name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment