From 84fdbbaaa13c0498dafc7302166a92c37816d09c Mon Sep 17 00:00:00 2001 From: crueter Date: Sat, 31 Jan 2026 01:45:12 +0100 Subject: [PATCH] [frontend] Fix build issues with update checker (#3433) Signed-off-by: crueter Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3433 --- src/frontend_common/update_checker.cpp | 3 +-- src/yuzu/main_window.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontend_common/update_checker.cpp b/src/frontend_common/update_checker.cpp index 21bb6c4c7d..53f3ca942d 100644 --- a/src/frontend_common/update_checker.cpp +++ b/src/frontend_common/update_checker.cpp @@ -45,8 +45,7 @@ std::optional UpdateChecker::GetResponse(std::string url, std::stri }; client->set_follow_location(true); - httplib::Result result; - result = client->send(request); + httplib::Result result = client->send(request); if (!result) { LOG_ERROR(Frontend, "GET to {}{} returned null", url, path); diff --git a/src/yuzu/main_window.cpp b/src/yuzu/main_window.cpp index 3ca6eaf99c..e3cd3f583c 100644 --- a/src/yuzu/main_window.cpp +++ b/src/yuzu/main_window.cpp @@ -4030,7 +4030,7 @@ void MainWindow::OnEmulatorUpdateAvailable() { update_prompt.addButton(QMessageBox::Yes); update_prompt.addButton(QMessageBox::Ignore); update_prompt.setText( - tr("Download %1?").arg(version.name)); + tr("Download %1?").arg(QString::fromStdString(version.name))); update_prompt.exec(); if (update_prompt.button(QMessageBox::Yes) == update_prompt.clickedButton()) { auto const full_url = fmt::format("{}/{}/releases/tag/",