mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Remove excessive code
This commit is contained in:
parent
17d8c646f2
commit
57dfeb2ff2
@ -217,11 +217,7 @@ void Lobby::serverCommand(const ServerCommand & command) try
|
||||
gameArgs << "--lobby-address" << ui->hostEdit->text();
|
||||
gameArgs << "--lobby-port" << ui->portEdit->text();
|
||||
gameArgs << "--uuid" << args[0];
|
||||
qobject_cast<MainWindow *>(qApp->activeWindow())->startGame(gameArgs);
|
||||
//on_startGameButton_clicked
|
||||
//node["names"].Vector().clear();
|
||||
//node["names"].Vector().pushBack(username.toStdString());
|
||||
|
||||
qobject_cast<MainWindow *>(qApp->activeWindow())->startGame(gameArgs);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -130,7 +130,6 @@ private:
|
||||
QString hostSession;
|
||||
QString session;
|
||||
QString username;
|
||||
bool startGame = false;
|
||||
QStringList gameArgs;
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user