| 57 | }; |
| 58 | |
| 59 | KDevelop::RuntimeController::RuntimeController(KDevelop::Core* core) |
| 60 | : m_core(core) |
| 61 | , m_group(new QActionGroup(this)) |
| 62 | { |
| 63 | const bool haveUI = (core->setupFlags() != Core::NoUi); |
| 64 | if (haveUI) { |
| 65 | m_runtimesMenu.reset(new QMenu()); |
| 66 | } |
| 67 | |
| 68 | addRuntimes(new IdentityRuntime); |
| 69 | setCurrentRuntime(m_runtimes.first()); |
| 70 | |
| 71 | if (haveUI) { |
| 72 | setupActions(); |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | KDevelop::RuntimeController::~RuntimeController() |
| 77 | { |
nothing calls this directly
no test coverage detected