summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index 02257de9..afe6fdc7 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -1014,7 +1014,7 @@ QList<ExecutableForcedLoadSetting> Profile::determineForcedLibraries(const QStri
return results;
}
-void Profile::saveForcedLibraries(const QString &executable, const QList<ExecutableForcedLoadSetting> &values)
+void Profile::storeForcedLibraries(const QString &executable, const QList<ExecutableForcedLoadSetting> &values)
{
QList<QVariantMap> rawSettings;
for (auto setting : values) {
@@ -1026,3 +1026,8 @@ void Profile::saveForcedLibraries(const QString &executable, const QList<Executa
}
storeSettingsByArray("forced_libraries/" + executable, rawSettings);
}
+
+void Profile::removeForcedLibraries(const QString &executable)
+{
+ m_Settings->remove("forced_libraries/" + executable);
+}