minor cleanups

This commit is contained in:
brukie 2009-05-22 22:32:05 +02:00
parent 0ef00dd437
commit 7e13352a95
29 changed files with 102 additions and 134 deletions

View file

@ -95,7 +95,7 @@ Game::Game(CardDatabase *_db, Client *_client, QGraphicsScene *_scene, QMenu *_a
dlgStartGame = new DlgStartGame(db);
connect(dlgStartGame, SIGNAL(newDeckLoaded(const QStringList &)), client, SLOT(submitDeck(const QStringList &)));
connect(dlgStartGame, SIGNAL(finished(int)), this, SLOT(readyStart(int)));
connect(dlgStartGame, SIGNAL(finished(int)), this, SLOT(readyStart()));
}
Game::~Game()
@ -144,10 +144,8 @@ void Game::playerListReceived(QList<ServerPlayer *> playerList)
restartGameDialog();
}
void Game::readyStart(int foo)
void Game::readyStart()
{
Q_UNUSED(foo);
client->readyStart();
}