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
This commit is contained in:
Léo Lam 2021-02-08 02:52:29 +01:00
parent abc5d6c0d2
commit 7ef8e53c4a
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
1 changed files with 2 additions and 1 deletions

View File

@ -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));
}