From 5aadf00463341658005965412a2479a893d660ab Mon Sep 17 00:00:00 2001 From: asynts Date: Tue, 6 Oct 2020 14:22:35 +0200 Subject: [PATCH] KeyboardSettings: Use new format functions. --- Applications/KeyboardSettings/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/KeyboardSettings/main.cpp b/Applications/KeyboardSettings/main.cpp index cb0bb59fd8..b9ad85ff88 100644 --- a/Applications/KeyboardSettings/main.cpp +++ b/Applications/KeyboardSettings/main.cpp @@ -90,12 +90,12 @@ int main(int argc, char** argv) JsonObject keymap_object = json.value().as_object(); ASSERT(keymap_object.has("keymap")); String current_keymap = keymap_object.get("keymap").to_string(); - dbg() << "KeyboardSettings thinks the current keymap is: " << current_keymap; + dbgln("KeyboardSettings thinks the current keymap is: {}", current_keymap); Vector character_map_files; Core::DirIterator iterator("/res/keymaps/", Core::DirIterator::Flags::SkipDots); if (iterator.has_error()) { - GUI::MessageBox::show(nullptr, String::format("Error on reading mapping file list: %d", iterator.error_string()), "Keyboard settings", GUI::MessageBox::Type::Error); + GUI::MessageBox::show(nullptr, String::formatted("Error on reading mapping file list: {}", iterator.error_string()), "Keyboard settings", GUI::MessageBox::Type::Error); return -1; }