mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-02-06 08:48:21 +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();
|
linkTrainingAnd7P1();
|
||||||
|
|
||||||
// Players score
|
// Players score
|
||||||
m_scoresWidget = new ScoreWidget;
|
m_scoresWidget = new ScoreWidget(NULL, iGame);
|
||||||
m_ui.groupBoxPlayers->layout()->addWidget(m_scoresWidget);
|
m_ui.groupBoxPlayers->layout()->addWidget(m_scoresWidget);
|
||||||
QObject::connect(this, SIGNAL(gameUpdated()),
|
QObject::connect(this, SIGNAL(gameUpdated()),
|
||||||
m_scoresWidget, SLOT(refresh()));
|
m_scoresWidget, SLOT(refresh()));
|
||||||
|
@ -367,7 +367,7 @@ void MainWindow::updateForGame(PublicGame *iGame)
|
||||||
m_playersWidget->setGame(iGame);
|
m_playersWidget->setGame(iGame);
|
||||||
|
|
||||||
// Players score
|
// Players score
|
||||||
m_scoresWidget = new ScoreWidget;
|
m_scoresWidget = new ScoreWidget(NULL, iGame);
|
||||||
m_ui.groupBoxPlayers->layout()->addWidget(m_scoresWidget);
|
m_ui.groupBoxPlayers->layout()->addWidget(m_scoresWidget);
|
||||||
QObject::connect(this, SIGNAL(gameUpdated()),
|
QObject::connect(this, SIGNAL(gameUpdated()),
|
||||||
m_scoresWidget, SLOT(refresh()));
|
m_scoresWidget, SLOT(refresh()));
|
||||||
|
|
Loading…
Add table
Reference in a new issue