diff --git a/src/ServerModel.cpp b/src/ServerModel.cpp index c1ae8fb..af0fffa 100644 --- a/src/ServerModel.cpp +++ b/src/ServerModel.cpp @@ -30,7 +30,7 @@ void ServerModel::kill(QStringList &list) { void ServerModel::getAddr() { - emit appendLocalAddr("0:0:0:0"); + emit appendLocalAddr("0:0:0:0"); QList lst = QNetworkInterface::allAddresses(); foreach (QHostAddress a, lst) { if (QAbstractSocket::IPv4Protocol == a.protocol()) { @@ -111,7 +111,7 @@ void ServerModel::send(const QString &key, const QString &data) { qDebug() << ("bad data format to send: " + err); else qDebug()<