| 1163 | } |
| 1164 | |
| 1165 | void Profile::storeForcedLibraries(const QString& executable, |
| 1166 | const QList<ExecutableForcedLoadSetting>& values) |
| 1167 | { |
| 1168 | QList<QVariantMap> rawSettings; |
| 1169 | for (auto setting : values) { |
| 1170 | QVariantMap rawSetting; |
| 1171 | rawSetting["enabled"] = setting.enabled(); |
| 1172 | rawSetting["process"] = setting.process(); |
| 1173 | rawSetting["library"] = setting.library(); |
| 1174 | rawSettings.append(rawSetting); |
| 1175 | } |
| 1176 | storeSettingsByArray("forced_libraries/" + executable, rawSettings); |
| 1177 | } |
| 1178 | |
| 1179 | void Profile::removeForcedLibraries(const QString& executable) |
| 1180 | { |
no test coverage detected