From f8c799ff510e652d08c306559edb0b261f929f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Sat, 18 May 2024 19:24:55 +0200 Subject: [PATCH] Fixes for fmtlib 10. --- src/spawn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spawn.cpp b/src/spawn.cpp index 05f796a57..c05f5ceda 100644 --- a/src/spawn.cpp +++ b/src/spawn.cpp @@ -125,8 +125,8 @@ QString makeDetails(const SpawnParameters& sp, DWORD code, const QString& more = const std::wstring wmore = (more.isEmpty() ? L"" : (", " + more).toStdWString()); const auto s = fmt::format( - f, fmt::arg(L"code", code), fmt::arg(L"codename", errorCodeName(code)), - fmt::arg(L"more", wmore), + fmt::runtime(f), fmt::arg(L"code", code), + fmt::arg(L"codename", errorCodeName(code)), fmt::arg(L"more", wmore), fmt::arg(L"bin", QDir::toNativeSeparators(sp.binary.absoluteFilePath()).toStdWString()), fmt::arg(L"owner", owner), fmt::arg(L"rights", rights),