| 144 | } |
| 145 | |
| 146 | void CodePortingManager::resetUI() |
| 147 | { |
| 148 | auto &ctx = dpfInstance.serviceContext(); |
| 149 | auto windowService = ctx.service<WindowService>(WindowService::name()); |
| 150 | |
| 151 | QString group = "Porting"; |
| 152 | |
| 153 | if (!windowService->hasContextWidget(tr("C&ode Porting"))) { |
| 154 | // Add output pane |
| 155 | windowService->addContextWidget(tr("C&ode Porting"), new AbstractWidget(new CodePortingWidget()), false); |
| 156 | } |
| 157 | |
| 158 | outputPane->clearContents(); |
| 159 | uiController.switchContext(tr("C&ode Porting")); |
| 160 | } |
nothing calls this directly
no test coverage detected