mirror of https://git.suyu.dev/suyu/suyu
Remove unnecessary conversion
This commit is contained in:
parent
606e833d26
commit
d11b04ed46
|
@ -1801,12 +1801,11 @@ void GMainWindow::OnMenuReportCompatibility() {
|
||||||
|
|
||||||
void GMainWindow::OnSwitchModsPage() {
|
void GMainWindow::OnSwitchModsPage() {
|
||||||
const auto mods_page_url = QStringLiteral("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 QUrl mods_page(mods_page_url);
|
||||||
const QUrl mods_page(mods_page_url_qs);
|
|
||||||
const bool open = QDesktopServices::openUrl(mods_page);
|
const bool open = QDesktopServices::openUrl(mods_page);
|
||||||
if (!open) {
|
if (!open) {
|
||||||
QMessageBox::warning(this, tr("Error opening URL"),
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue