| 2724 | } |
| 2725 | |
| 2726 | void MainWindow::ipcSetId() { |
| 2727 | bool ok = true; |
| 2728 | QString text = QInputDialog::getText(this, tr("CEmu Change ID"), tr("New ID:"), QLineEdit::Normal, opts.idString, &ok); |
| 2729 | if (ok && !text.isEmpty() && text != opts.idString) { |
| 2730 | if (!InterCom::idOpen(text)) { |
| 2731 | com.idClose(); |
| 2732 | com.ipcSetup(opts.idString = text, opts.pidString); |
| 2733 | console(QStringLiteral("[CEmu] Initialized Server [") + opts.idString + QStringLiteral(" | ") + com.getServerName() + QStringLiteral("]\n")); |
| 2734 | setWindowTitle(QStringLiteral("CEmu | ") + opts.idString); |
| 2735 | } |
| 2736 | } |
| 2737 | } |
| 2738 | |
| 2739 | void MainWindow::ipcSpawn() { |
| 2740 | QStringList arguments; |
nothing calls this directly
no test coverage detected