| 71 | } |
| 72 | |
| 73 | void HelpView::createHelpTroubleshootingTab() { |
| 74 | std::shared_ptr<ImGuiLayout> model = std::make_shared<ImGuiLayout>(); |
| 75 | std::shared_ptr<LayoutSection> section = model->addSection(Msg::HELPVIEW_TITLE_HELP_TROUBLESHOOTING); |
| 76 | |
| 77 | section->addText(Msg::NONE, Msg::NONE, getTranslation(Msg::HELPVIEW_HELP_TROUBLESHOOTING_LABEL)); |
| 78 | |
| 79 | BString name; |
| 80 | if (GlobalSettings::hasIconsFont()) { |
| 81 | name += QUESTION_ICON; |
| 82 | name += " "; |
| 83 | } |
| 84 | name += getTranslation(Msg::HELPVIEW_TITLE_HELP_TROUBLESHOOTING); |
| 85 | addTab(name, name, model, [this](bool buttonPressed, BaseViewTab& tab) { |
| 86 | |
| 87 | }); |
| 88 | } |
nothing calls this directly
no test coverage detected