Formats minimally release source files based on former clang-format
This commit is contained in:
387 files changed
+37323
-38074
No files matched your search
@@ -14,9 +14,9 @@
|
||||
|
||||
TTServer::TTServer(const TTSArgs &ttsArgs) : m_ttsArgs(ttsArgs)
|
||||
.getNGLLogger("TTServer")),
|
||||
m_logger(NGL::NGLLoggerBootstrap::getNGLRootLogger()) {
|
||||
connect(this, &TTServer::newConnection,
|
||||
this, &TTServer::onNewConnection);
|
||||
m_logger(NGL::NGLLoggerBootstrap::getNGLRootLogger())
|
||||
{
|
||||
connect(this, &TTServer::newConnection, this, &TTServer::onNewConnection);
|
||||
}
|
||||
|
||||
void TTServer::onNewConnection()
|
||||
@@ -24,16 +24,13 @@ void TTServer::onNewConnection()
|
||||
QTcpSocket *sock = nextPendingConnection();
|
||||
if (!sock)
|
||||
return;
|
||||
NOTICE_LOG(m_logger) << "New incoming connection from "
|
||||
<< sock->peerName() << ":"
|
||||
<< sock->peerPort();
|
||||
NOTICE_LOG(m_logger) << "New incoming connection from " << sock->peerName() << ":" << sock->peerPort();
|
||||
|
||||
TTWorker *ttw = new TTWorker(sock, m_ttsArgs);
|
||||
if (!ttw->init())
|
||||
exit(5);
|
||||
|
||||
connect(sock, &QTcpSocket::disconnected,
|
||||
this, &TTServer::onDisconnect);
|
||||
connect(sock, &QTcpSocket::disconnected, this, &TTServer::onDisconnect);
|
||||
}
|
||||
|
||||
void TTServer::onDisconnect()
|
||||
|
||||
Reference in new issue
Block a user