mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-29 20:34:56 +01:00
Fixed initialization of the scores widget
This commit is contained in:
parent
22f4341bdd
commit
765b57b781
1 changed files with 2 additions and 2 deletions
|
@ -338,7 +338,7 @@ void MainWindow::updateForGame(PublicGame *iGame)
|
|||
linkTrainingAnd7P1();
|
||||
|
||||
// Players score
|
||||
m_scoresWidget = new ScoreWidget;
|
||||
m_scoresWidget = new ScoreWidget(NULL, iGame);
|
||||
m_ui.groupBoxPlayers->layout()->addWidget(m_scoresWidget);
|
||||
QObject::connect(this, SIGNAL(gameUpdated()),
|
||||
m_scoresWidget, SLOT(refresh()));
|
||||
|
@ -367,7 +367,7 @@ void MainWindow::updateForGame(PublicGame *iGame)
|
|||
m_playersWidget->setGame(iGame);
|
||||
|
||||
// Players score
|
||||
m_scoresWidget = new ScoreWidget;
|
||||
m_scoresWidget = new ScoreWidget(NULL, iGame);
|
||||
m_ui.groupBoxPlayers->layout()->addWidget(m_scoresWidget);
|
||||
QObject::connect(this, SIGNAL(gameUpdated()),
|
||||
m_scoresWidget, SLOT(refresh()));
|
||||
|
|
Loading…
Add table
Reference in a new issue