MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / storeForcedLibraries

Method storeForcedLibraries

src/profile.cpp:1165–1177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1163}
1164
1165void 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
1179void Profile::removeForcedLibraries(const QString& executable)
1180{

Callers 1

commitChangesMethod · 0.80

Calls 2

enabledMethod · 0.80
processMethod · 0.45

Tested by

no test coverage detected