| 127 | } |
| 128 | |
| 129 | void Extender::syncedOnReload(const QString &project) |
| 130 | { |
| 131 | for (auto path : extenderFiles.keys()) { |
| 132 | if(extenderFiles[path].Enabled) { |
| 133 | bool success = mainAdaptix->mainUI->SyncExtension(project, &(extenderFiles[path])); |
| 134 | if (!success) { |
| 135 | mainAdaptix->mainUI->RemoveExtension(extenderFiles[path]); |
| 136 | } |
| 137 | } |
| 138 | dialogExtender->UpdateExtenderItem(extenderFiles[path]); |
| 139 | mainAdaptix->storage->UpdateExtension(extenderFiles[path]); |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | void Extender::loadGlobalScript(const QString &path) { this->LoadFromFile(path, true); } |
| 144 |
nothing calls this directly
no test coverage detected