prevent multiline game names in the lobby; implement #18

This commit is contained in:
doitux
2012-02-03 22:07:08 +00:00
parent 6af6da5658
commit 3794295db4
2 changed files with 2 additions and 2 deletions
@@ -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: {
+1 -1
View File
@@ -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>