| 454 | } |
| 455 | |
| 456 | void BinaryToolsManager::installTool(const QString &id) |
| 457 | { |
| 458 | const auto &tool = findTool(id); |
| 459 | if (!tool.isValid()) |
| 460 | return; |
| 461 | |
| 462 | if (!terminalSrv) |
| 463 | terminalSrv = dpfGetService(TerminalService); |
| 464 | |
| 465 | uiController.switchContext(TERMINAL_TAB_TEXT); |
| 466 | terminalSrv->sendCommand(tool.advSettings.installCommand); |
| 467 | } |
| 468 | |
| 469 | void BinaryToolsManager::eventTriggered(EventType event, const QVariantList &args) |
| 470 | { |
no test coverage detected