fix: exit error bug.

This commit is contained in:
2025-06-19 17:01:25 +08:00
parent dfc2639746
commit 5890b66309
7 changed files with 24 additions and 13 deletions

View File

@@ -4,10 +4,6 @@
ClientCore::ClientCore(QObject* parent) : QObject(parent)
{
qRegisterMetaType<QSharedPointer<FrameBuffer>>("QSharedPointer<FrameBuffer>");
qRegisterMetaType<InfoClientVec>("InfoClientVec");
qRegisterMetaType<DirFileInfoVec>("DirFileInfoVec");
socket_ = new QTcpSocket(this);
connect(socket_, &QTcpSocket::readyRead, this, &ClientCore::onReadyRead);
connect(socket_, &QTcpSocket::disconnected, this, &ClientCore::onDisconnected);