mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Refactor files in common to new Qt Slot/Signal syntax (#5872)
This commit is contained in:
parent
ffe02e59c7
commit
bcaa6c6b8a
4 changed files with 11 additions and 10 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue