Refactor files in common to new Qt Slot/Signal syntax (#5872)

This commit is contained in:
RickyRister
2025-04-21 13:30:40 -07:00
committed by GitHub
parent ffe02e59c7
commit bcaa6c6b8a
4 changed files with 11 additions and 10 deletions

View File

@@ -87,7 +87,7 @@ Server_Game::Server_Game(const ServerInfo_User &_creatorInfo,
if (room->getServer()->getGameShouldPing()) {
pingClock = new QTimer(this);
connect(pingClock, SIGNAL(timeout()), this, SLOT(pingClockTimeout()));
connect(pingClock, &QTimer::timeout, this, &Server_Game::pingClockTimeout);
pingClock->start(1000);
}
}