network: 启动时不再显示服务器的端口号
This commit is contained in:
parent
6c5a81e176
commit
ef77a5d061
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue