summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Bessent <lost.dragonist@gmail.com>2021-08-23 10:13:23 -0700
committerGitHub <noreply@github.com>2021-08-23 10:13:23 -0700
commitee745353d9cb048c2928700ca7eb9c40b0186b9a (patch)
tree728d69bc984fcd8b9b1bfdc1fabf3e02bf29df4a /src
parenta279745aa28a0ee4509b3769b23a9bc6fe3ca278 (diff)
parentae311dd4dcb2c3e46cf4f238306e746648a87e03 (diff)
Merge pull request #1578 from LostDragonist/forcedlib
Enable forced libraries by default
Diffstat (limited to 'src')
-rw-r--r--src/createinstancedialogpages.cpp2
-rw-r--r--src/profile.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/createinstancedialogpages.cpp b/src/createinstancedialogpages.cpp
index 6173335a..481f032d 100644
--- a/src/createinstancedialogpages.cpp
+++ b/src/createinstancedialogpages.cpp
@@ -474,7 +474,7 @@ void GamePage::updateButton(Game* g)
return;
}
- g->button->setText(g->game->gameName());
+ g->button->setText(g->game->gameName().replace("&", "&&"));
g->button->setIcon(g->game->gameIcon());
if (g->installed) {
diff --git a/src/profile.cpp b/src/profile.cpp
index 42a2ad16..b4b0ddcb 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -1073,7 +1073,7 @@ void Profile::storeSettingsByArray(const QString &prefix, const QList<QVariantMa
bool Profile::forcedLibrariesEnabled(const QString &executable) const
{
- return setting("forced_libraries", executable + "/enabled", false).toBool();
+ return setting("forced_libraries", executable + "/enabled", true).toBool();
}
void Profile::setForcedLibrariesEnabled(const QString &executable, bool enabled)