mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 10:33:54 -07:00
Reduce the game descriptions whitespace.
This commit is contained in:
parent
72d1b211c4
commit
bd39d60388
1 changed files with 21 additions and 21 deletions
|
|
@ -160,7 +160,7 @@ DlgCreateGame::DlgCreateGame(const ServerInfo_Game &gameInfo, const QMap<int, QS
|
||||||
void DlgCreateGame::actOK()
|
void DlgCreateGame::actOK()
|
||||||
{
|
{
|
||||||
Command_CreateGame cmd;
|
Command_CreateGame cmd;
|
||||||
cmd.set_description(descriptionEdit->text().toStdString());
|
cmd.set_description(descriptionEdit->text().simplified().toStdString());
|
||||||
cmd.set_password(passwordEdit->text().toStdString());
|
cmd.set_password(passwordEdit->text().toStdString());
|
||||||
cmd.set_max_players(maxPlayersEdit->value());
|
cmd.set_max_players(maxPlayersEdit->value());
|
||||||
cmd.set_only_buddies(onlyBuddiesCheckBox->isChecked());
|
cmd.set_only_buddies(onlyBuddiesCheckBox->isChecked());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue