MCPcopy Create free account
hub / github.com/XMuli/ChineseChess / currentIpText

Method currentIpText

NetworkGame.cpp:352–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352QString NetworkGame::currentIpText() const
353{
354 const auto combo = ChessBoard::ui->comboIp;
355 if (!combo)
356 return {};
357
358 QString ip = combo->currentData().toString();
359 if (ip.isEmpty())
360 ip = combo->currentText();
361 return ip.trimmed();
362}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected