prevent multiline game names in the lobby; implement #18
This commit is contained in:
@@ -281,7 +281,7 @@ void gameLobbyDialogImpl::createGame()
|
||||
gameData.playerActionTimeoutSec = myCreateInternetGameDialog->spinBox_netTimeOutPlayerAction->value();
|
||||
gameData.gameType = GameType(myCreateInternetGameDialog->comboBox_gameType->itemData(myCreateInternetGameDialog->comboBox_gameType->currentIndex(), Qt::UserRole).toInt());
|
||||
|
||||
currentGameName = myCreateInternetGameDialog->lineEdit_gameName->text();
|
||||
currentGameName = myCreateInternetGameDialog->lineEdit_gameName->text().simplified();
|
||||
|
||||
switch (gameData.gameType) {
|
||||
case GAME_TYPE_NORMAL: {
|
||||
|
||||
@@ -3426,7 +3426,7 @@ p, li { white-space: pre-wrap; }
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>7</number>
|
||||
<number>3650</number>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>2</number>
|
||||
|
||||
Reference in New Issue
Block a user