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 77b48cd181
commit 3e257f8f13
2 changed files with 3 additions and 4 deletions

View File

@@ -292,7 +292,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

@@ -171,17 +171,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();