| 80 | } |
| 81 | |
| 82 | void startClient(const QUrl &serverAddress) |
| 83 | { |
| 84 | auto *conMan = new ClientConnectionManager(this); |
| 85 | connect(conMan, SIGNAL(ready()), conMan, SLOT(createMainWindow())); |
| 86 | connect(conMan, SIGNAL(disconnected()), QApplication::instance(), SLOT(quit())); |
| 87 | connect(conMan, SIGNAL(persistentConnectionError(QString)), conMan, |
| 88 | SLOT(handlePersistentConnectionError(QString))); |
| 89 | conMan->connectToHost(serverAddress); |
| 90 | } |
| 91 | |
| 92 | void launcherFinished() |
| 93 | { |
no test coverage detected