From fe4cc1961888db364bbc70cfe0e7a15ec27a5c5b Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Thu, 6 Jul 2023 19:26:28 +1000 Subject: Change pure string format calls to use fmt::to_string --- source/frontend/StarQuestInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/frontend/StarQuestInterface.cpp') diff --git a/source/frontend/StarQuestInterface.cpp b/source/frontend/StarQuestInterface.cpp index fa42b4d..324cbd8 100644 --- a/source/frontend/StarQuestInterface.cpp +++ b/source/frontend/StarQuestInterface.cpp @@ -422,7 +422,7 @@ QuestCompleteInterface::QuestCompleteInterface(QuestPtr const& quest, PlayerPtr commonSetup(config, m_quest->completionText(), "QuestComplete"); if (auto moneyLabel = fetchChild("lblMoneyAmount")) - moneyLabel->setText(strf("{}", m_quest->money())); + moneyLabel->setText(toString(m_quest->money())); disableScissoring(); } -- cgit v1.2.3