minor fixes wrt commit 4e4a7563db

This commit is contained in:
Max-Wilhelm Bruker 2012-03-25 14:41:52 +02:00
parent 4e4a7563db
commit 3b70ad8c66
7 changed files with 46 additions and 34 deletions

View file

@ -108,7 +108,7 @@ void MainWindow::statusChanged(ClientStatus _status)
void MainWindow::userInfoReceived(const ServerInfo_User &info)
{
tabSupervisor->start(client, info);
tabSupervisor->start(info);
}
// Actions
@ -352,7 +352,7 @@ MainWindow::MainWindow(QWidget *parent)
client->moveToThread(clientThread);
clientThread->start();
tabSupervisor = new TabSupervisor;
tabSupervisor = new TabSupervisor(client);
connect(tabSupervisor, SIGNAL(setMenu(QMenu *)), this, SLOT(updateTabMenu(QMenu *)));
connect(tabSupervisor, SIGNAL(localGameEnded()), this, SLOT(localGameEnded()));