summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-02-08 02:52:29 +0100
committerLéo Lam <leo@leolam.fr>2021-02-08 02:52:29 +0100
commit7ef8e53c4a2874ba4f26593d799bc95fe04e8341 (patch)
treefcf78d7b6965ae479ba8aa31b94dc83212a37ad1 /Source/Core
parentabc5d6c0d274345d33ad41f685bfc5fbc3bc5b71 (diff)
Qt: Fix "open wiki" option not using the wiki redirect script
The dolphin-redirect.php script seems to have been present since 2012 at least, but we accidentally stopped using it when the "open wiki" feature was reimplemented in DolphinQt2 in 2016. <@delroth> dolphin-redirect.php is slightly smarter and tries to find gameid aliases for e.g. same region <@delroth> uh, I mean different region
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/GameList/GameList.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/GameList/GameList.cpp b/Source/Core/DolphinQt/GameList/GameList.cpp
index 65c870b1f4..3aea45a267 100644
--- a/Source/Core/DolphinQt/GameList/GameList.cpp
+++ b/Source/Core/DolphinQt/GameList/GameList.cpp
@@ -503,7 +503,8 @@ void GameList::OpenWiki()
return;
QString game_id = QString::fromStdString(game->GetGameID());
- QString url = QStringLiteral("https://wiki.dolphin-emu.org/index.php?title=").append(game_id);
+ QString url =
+ QStringLiteral("https://wiki.dolphin-emu.org/dolphin-redirect.php?gameid=").append(game_id);
QDesktopServices::openUrl(QUrl(url));
}