diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-14 19:13:28 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-15 14:40:40 -0400 |
| commit | 5ca4ea500439bdeee85ca2103374618f2608808d (patch) | |
| tree | 96f3f8de03c051045aa07d482dcacc301437bcc5 /src/profile.cpp | |
| parent | 7671725436551b7254ea89ff6985c5491fcc743d (diff) | |
merged CustomOverwrites and ForcedLibraries, they were mostly identical
some comments
Diffstat (limited to 'src/profile.cpp')
| -rw-r--r-- | src/profile.cpp | 4 |
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; |
