| 71 | void TutorialBuilder::setTopWidget(QWidget *topWidget) { m_topWidget = topWidget; } |
| 72 | |
| 73 | void TutorialBuilder::start() |
| 74 | { |
| 75 | try { |
| 76 | this->readTutorialRequirements(); |
| 77 | uint16_t chaptersCollected = this->collectChapters(); |
| 78 | qInfo(CAT_TUTORIALBUILDER) << "Chapters collected" << chaptersCollected; |
| 79 | |
| 80 | TutorialOverlay::start(); |
| 81 | } catch(std::runtime_error &error) { |
| 82 | qCritical(CAT_TUTORIALBUILDER) << "Cannot start tutorial:" << error.what(); |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | uint16_t TutorialBuilder::collectChapters() |
| 87 | { |
nothing calls this directly
no test coverage detected