From 1b2f85a37150774ae8e708ad751824055b2ac4f2 Mon Sep 17 00:00:00 2001 From: Chris Bessent Date: Sun, 22 Aug 2021 11:48:27 -0700 Subject: Enable forced libraries by default --- src/profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 Date: Sun, 22 Aug 2021 13:10:47 -0700 Subject: Escape ampersands in game names in instance window These are technically buttons so Qt tries to make shortcuts. --- src/createinstancedialogpages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.3.1