Refactor files in common to new Qt Slot/Signal syntax

This commit is contained in:
RickyRister 2025-04-21 00:02:53 -07:00
parent ca73033aea
commit 8367fae82b
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);
}
}