diff options
author | Lioncash <mathew1800@gmail.com> | 2021-06-23 09:59:56 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-06-23 13:48:21 -0400 |
commit | d0b1f2bd05a2fcadbb4c148be2105e337dd986e8 (patch) | |
tree | 17e7abb608ab936ae6696e0507c9d1441256c66a /src/yuzu/main.cpp | |
parent | c3fe0717235eae5fffc62b16302d616d4459071d (diff) |
General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable
Also removes some deprecated API usages.
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 75ab5ef442..6f5b2f6d6c 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -236,7 +236,8 @@ GMainWindow::GMainWindow() const auto build_id = std::string(Common::g_build_id); const auto yuzu_build = fmt::format("yuzu Development Build | {}-{}", branch_name, description); - const auto override_build = fmt::format(std::string(Common::g_title_bar_format_idle), build_id); + const auto override_build = + fmt::format(fmt::runtime(std::string(Common::g_title_bar_format_idle)), build_id); const auto yuzu_build_version = override_build.empty() ? yuzu_build : override_build; LOG_INFO(Frontend, "yuzu Version: {}", yuzu_build_version); @@ -2858,7 +2859,8 @@ void GMainWindow::UpdateWindowTitle(const std::string& title_name, const auto build_id = std::string(Common::g_build_id); const auto yuzu_title = fmt::format("yuzu | {}-{}", branch_name, description); - const auto override_title = fmt::format(std::string(Common::g_title_bar_format_idle), build_id); + const auto override_title = + fmt::format(fmt::runtime(std::string(Common::g_title_bar_format_idle)), build_id); const auto window_title = override_title.empty() ? yuzu_title : override_title; if (title_name.empty()) { |