| 350 | } |
| 351 | |
| 352 | QString 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected