summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
authorJeremy Rimpo <jrim@rimpo.org>2019-06-16 16:13:56 -0500
committerGitHub <noreply@github.com>2019-06-16 16:13:56 -0500
commit27815282f782d1ca25d173e24befcc5bec024094 (patch)
tree088a8ebad916f60821d66e1c979a0d5627151b61 /src/profile.cpp
parentbae2ee7a29a4b0767185c4ab1ce3232472cfa2ac (diff)
parent30ce0ba5ef5256f42b36d6f4194bf444941ad66d (diff)
Merge pull request #764 from isanae/executables-dialog-rework
Executables dialog rework
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index 4ccaa641..ef387027 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -982,7 +982,7 @@ int Profile::getPriorityMinimum() const
return m_ModIndexByPriority.begin()->first;
}
-bool Profile::forcedLibrariesEnabled(const QString &executable)
+bool Profile::forcedLibrariesEnabled(const QString &executable) const
{
return setting("forced_libraries", executable + "/enabled", false).toBool();
}
@@ -992,7 +992,7 @@ void Profile::setForcedLibrariesEnabled(const QString &executable, bool enabled)
storeSetting("forced_libraries", executable + "/enabled", enabled);
}
-QList<ExecutableForcedLoadSetting> Profile::determineForcedLibraries(const QString &executable)
+QList<ExecutableForcedLoadSetting> Profile::determineForcedLibraries(const QString &executable) const
{
QList<ExecutableForcedLoadSetting> results;