atrooney-online-2/src/network/serverinfo.cpp
2025-01-11 02:06:02 -06:00

7 lines
194 B
C++

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