diff options
| author | 2020-06-21 06:16:03 +0200 | |
|---|---|---|
| committer | 2020-06-21 06:16:03 +0200 | |
| commit | d11b04ed46b2c6720e9bb222e98482097274a1f5 (patch) | |
| tree | 7cd70e0e5114e183f7ef863a5ddd123d1d3b9a8b /src | |
| parent | Address review comment by Lioncash (diff) | |
| download | yuzu-d11b04ed46b2c6720e9bb222e98482097274a1f5.tar.gz yuzu-d11b04ed46b2c6720e9bb222e98482097274a1f5.tar.xz yuzu-d11b04ed46b2c6720e9bb222e98482097274a1f5.zip | |
Remove unnecessary conversion
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/main.cpp | 5 |
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() { | |||
| 1801 | 1801 | ||
| 1802 | void GMainWindow::OnSwitchModsPage() { | 1802 | void GMainWindow::OnSwitchModsPage() { |
| 1803 | const auto mods_page_url = QStringLiteral("https://github.com/yuzu-emu/yuzu/wiki/Switch-Mods"); | 1803 | const auto mods_page_url = QStringLiteral("https://github.com/yuzu-emu/yuzu/wiki/Switch-Mods"); |
| 1804 | const QString mods_page_url_qs = QString::fromStdString(mods_page_url); | 1804 | const QUrl mods_page(mods_page_url); |
| 1805 | const QUrl mods_page(mods_page_url_qs); | ||
| 1806 | const bool open = QDesktopServices::openUrl(mods_page); | 1805 | const bool open = QDesktopServices::openUrl(mods_page); |
| 1807 | if (!open) { | 1806 | if (!open) { |
| 1808 | QMessageBox::warning(this, tr("Error opening URL"), | 1807 | QMessageBox::warning(this, tr("Error opening URL"), |
| 1809 | tr("Unable to open the URL \"%1\".").arg(mods_page_url_qs)); | 1808 | tr("Unable to open the URL \"%1\".").arg(mods_page_url)); |
| 1810 | } | 1809 | } |
| 1811 | } | 1810 | } |
| 1812 | 1811 | ||