fix crash when console start

This commit is contained in:
notify 2023-04-20 15:17:40 +08:00
parent 553022db14
commit b821287e98

View File

@ -10,6 +10,7 @@ ClientSocket::ClientSocket() : socket(new QTcpSocket(this)) {
}
ClientSocket::ClientSocket(QTcpSocket *socket) {
aes_ready = false;
socket->setParent(this);
this->socket = socket;
timerSignup.setSingleShot(true);