Commit a84418bb authored by poixen's avatar poixen
Browse files

Merge pull request #902 from poixen/default_one_player

Default to one player
parents bc8d9427 986eab4d
...@@ -135,7 +135,7 @@ void MainWindow::actDisconnect() ...@@ -135,7 +135,7 @@ void MainWindow::actDisconnect()
void MainWindow::actSinglePlayer() void MainWindow::actSinglePlayer()
{ {
bool ok; bool ok;
int numberPlayers = QInputDialog::getInt(this, tr("Number of players"), tr("Please enter the number of players."), 2, 1, 8, 1, &ok); int numberPlayers = QInputDialog::getInt(this, tr("Number of players"), tr("Please enter the number of players."), 1, 1, 8, 1, &ok);
if (!ok) if (!ok)
return; return;
......
Supports Markdown
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