summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolcaEM <63682805+VolcaEM@users.noreply.github.com>2020-06-21 06:16:03 +0200
committerGitHub <noreply@github.com>2020-06-21 06:16:03 +0200
commitd11b04ed46b2c6720e9bb222e98482097274a1f5 (patch)
tree7cd70e0e5114e183f7ef863a5ddd123d1d3b9a8b /src
parentAddress review comment by Lioncash (diff)
downloadyuzu-d11b04ed46b2c6720e9bb222e98482097274a1f5.tar
yuzu-d11b04ed46b2c6720e9bb222e98482097274a1f5.tar.gz
yuzu-d11b04ed46b2c6720e9bb222e98482097274a1f5.tar.bz2
yuzu-d11b04ed46b2c6720e9bb222e98482097274a1f5.tar.lz
yuzu-d11b04ed46b2c6720e9bb222e98482097274a1f5.tar.xz
yuzu-d11b04ed46b2c6720e9bb222e98482097274a1f5.tar.zst
yuzu-d11b04ed46b2c6720e9bb222e98482097274a1f5.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 0ce7cd62a..6e6e5dffe 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1801,12 +1801,11 @@ void GMainWindow::OnMenuReportCompatibility() {
void GMainWindow::OnSwitchModsPage() {
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 QUrl mods_page(mods_page_url_qs);
+ const QUrl mods_page(mods_page_url);
const bool open = QDesktopServices::openUrl(mods_page);
if (!open) {
QMessageBox::warning(this, tr("Error opening URL"),
- tr("Unable to open the URL \"%1\".").arg(mods_page_url_qs));
+ tr("Unable to open the URL \"%1\".").arg(mods_page_url));
}
}