Address review comment by Lioncash

Co-authored-by: LC <mathew1800@gmail.com>
This commit is contained in:
VolcaEM 2020-06-21 06:12:23 +02:00 committed by GitHub
parent b81af6ae9b
commit 606e833d26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1800,7 +1800,7 @@ void GMainWindow::OnMenuReportCompatibility() {
} }
void GMainWindow::OnSwitchModsPage() { void GMainWindow::OnSwitchModsPage() {
const std::string mods_page_url = "https://github.com/yuzu-emu/yuzu/wiki/Switch-Mods"; const auto mods_page_url = QStringLiteral("https://github.com/yuzu-emu/yuzu/wiki/Switch-Mods");
const QString mods_page_url_qs = QString::fromStdString(mods_page_url); const QString mods_page_url_qs = QString::fromStdString(mods_page_url);
const QUrl mods_page(mods_page_url_qs); const QUrl mods_page(mods_page_url_qs);
const bool open = QDesktopServices::openUrl(mods_page); const bool open = QDesktopServices::openUrl(mods_page);