| 89 | FlatpakPlugin::~FlatpakPlugin() = default; |
| 90 | |
| 91 | void FlatpakPlugin::runtimeChanged(KDevelop::IRuntime* newRuntime) |
| 92 | { |
| 93 | const bool isFlatpak = qobject_cast<FlatpakRuntime*>(newRuntime); |
| 94 | |
| 95 | const auto& actions = actionCollection()->actions(); |
| 96 | for (auto action: actions) { |
| 97 | action->setEnabled(isFlatpak); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | void FlatpakPlugin::rebuildCurrent() |
| 102 | { |
nothing calls this directly
no test coverage detected