| 269 | } |
| 270 | |
| 271 | void AiInterface::showCrew() { |
| 272 | m_currentPage = AiPages::CrewList; |
| 273 | m_currentSpeech = {}; |
| 274 | m_pageBreadcrumbWidget->setText(m_crewBreadcrumbText); |
| 275 | |
| 276 | populateMissions(); |
| 277 | |
| 278 | m_crewListWidget->clearSelected(); |
| 279 | m_mainStack->showPage(2); |
| 280 | if (m_crew.empty()) { |
| 281 | m_crewStack->showPage(0); |
| 282 | setCurrentSpeech("noCrewText", m_aiDatabase->noCrewSpeech()); |
| 283 | } else { |
| 284 | m_crewStack->showPage(1); |
| 285 | } |
| 286 | |
| 287 | updateBreadcrumbs(); |
| 288 | } |
| 289 | |
| 290 | void AiInterface::selectRecruit() { |
| 291 | CompanionPtr recruit = {}; |
nothing calls this directly
no test coverage detected