network: 启动时不再显示服务器的端口号

This commit is contained in:
CalciteM 2019-07-29 00:53:03 +08:00
parent 6c5a81e176
commit ef77a5d061
1 changed files with 4 additions and 0 deletions

View File

@ -119,11 +119,15 @@ void Server::sessionOpened()
close(); close();
return; return;
} else { } else {
#ifdef DEBUG_MODE
QMessageBox::information(this, tr("Server"), tr("server Started %1.").arg(port)); QMessageBox::information(this, tr("Server"), tr("server Started %1.").arg(port));
#endif
} }
} }
else { else {
#ifdef DEBUG_MODE
QMessageBox::information(this, tr("Server"), tr("server Started %1.").arg(port)); QMessageBox::information(this, tr("Server"), tr("server Started %1.").arg(port));
#endif
} }
QString ipAddress; QString ipAddress;