mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-31 07:02:22 -08:00
Refactor files in common to new Qt Slot/Signal syntax (#5872)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user