MCPcopy Create free account
hub / github.com/Windscribe/Desktop-App / ipString

Function ipString

src/windscribe-cli/strings.cpp:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110QString ipString(const QString &ip, bool isConnected)
111{
112 if (ip.isEmpty()) {
113 return QString();
114 }
115 return isConnected ? QObject::tr("VPN IP: %1").arg(ip) : QObject::tr("Public IP: %1").arg(ip);
116}
117
118QString protocolString(types::Protocol protocol, uint port)
119{

Callers 1

onStateResponseMethod · 0.85

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected