Fix compile errors.

Took 54 minutes

Took 14 seconds
This commit is contained in:
Lukas Brübach 2026-05-24 01:27:38 +02:00
parent 7d6d625ed4
commit 96b331746b
2 changed files with 3 additions and 4 deletions

View file

@ -284,7 +284,7 @@ void TabGame::finishTutorialInitialization()
->getActiveLocalPlayer(game->getPlayerManager()->getLocalPlayerId())
->getPlayerEventHandler();
diceRollStep.signalName = SIGNAL(logRollDie(Player *, int, const QList<uint> &));
diceRollStep.validator = [this] { return true; };
diceRollStep.validator = [] { return true; };
diceRollStep.validationHint = tr("Roll a dice using any of these methods.");
gamePlaySequence.addStep(diceRollStep);

View file

@ -170,17 +170,16 @@ private slots:
void processPlayerLeave(PlayerLogic *leavingPlayer);
void actResetLayout();
void hideEvent(QHideEvent *event) override;
protected slots:
void closeEvent(QCloseEvent *event) override;
void showEvent(QShowEvent *event) override;
void hideEvent(QHideEvent *event) override;
public:
TabGame(TabSupervisor *_tabSupervisor,
QList<AbstractClient *> &_clients,
const Event_GameJoined &event,
const QMap<int, QString> &_roomGameTypes);
void showEvent(QShowEvent *event);
void finishTutorialInitialization();
void connectToGameState();
void connectToPlayerManager();