[frontend] Fix build issues with update checker (#3433)

Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3433
This commit is contained in:
crueter 2026-01-31 01:45:12 +01:00
parent 638663b28e
commit 84fdbbaaa1
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
2 changed files with 2 additions and 3 deletions

View File

@ -45,8 +45,7 @@ std::optional<std::string> 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);

View File

@ -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/",