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

@ -36,7 +36,7 @@ Server_ProtocolHandler::Server_ProtocolHandler(Server *_server,
idleClientWarningSent(false), timeRunning(0), lastDataReceived(0), lastActionReceived(0)
{
connect(server, SIGNAL(pingClockTimeout()), this, SLOT(pingClockTimeout()));
connect(server, &Server::pingClockTimeout, this, &Server_ProtocolHandler::pingClockTimeout);
}
Server_ProtocolHandler::~Server_ProtocolHandler()