Skip to content

Commit

Permalink
Update factory.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Realself-Ma committed Aug 2, 2020
1 parent 11951d1 commit 884de51
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ QTcpSocket* Factory::CreateQTcpSocket(QString ServerIp,int ServerPort)
QHostAddress* serverIP = new QHostAddress();
QString ip = ServerIp;
serverIP->setAddress(ip);
serverIP->setAddress(ip);
tcpSocket->connectToHost(*serverIP, ServerPort);
return tcpSocket;
}
Expand Down

0 comments on commit 884de51

Please sign in to comment.