atrooney-online-2/src/network/serverinfo.cpp
Leifa efd2571459
Remove TCP entry point (#1007)
* Remove TCP entry point

Resolve #987

* Remove TCP entry point
  * Servers that do not support WebSocket will be marked as `Legacy`
  * Removal of TCP connection from the master will follow later.

* Tweaked error message
2024-07-09 13:07:30 +02:00

7 lines
183 B
C++

#include "serverinfo.h"
QString ServerInfo::toString() const
{
return QString("%1 (%2:%3)").arg(name.isEmpty() ? QStringLiteral("Unnamed Server") : name).arg(address).arg(port);
}