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:
parent
abc5d6c0d2
commit
7ef8e53c4a
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue