1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 21:05:07 +00:00

HackStudio: Use new format functions.

This commit is contained in:
asynts 2020-10-08 13:41:36 +02:00 committed by Andreas Kling
parent 3b601cd4bd
commit 7c4fb2b804
23 changed files with 112 additions and 117 deletions

View file

@ -179,9 +179,9 @@ void Locator::update_suggestions()
if (file.name().contains(typed_text))
suggestions.append(file.name());
});
dbg() << "I have " << suggestions.size() << " suggestion(s):";
dbgln("I have {} suggestion(s):", suggestions.size());
for (auto& s : suggestions) {
dbg() << " " << s;
dbgln(" {}", s);
}
bool has_suggestions = !suggestions.is_empty();
@ -194,7 +194,7 @@ void Locator::update_suggestions()
m_suggestion_view->selection().set(m_suggestion_view->model()->index(0));
m_popup_window->move_to(screen_relative_rect().top_left().translated(0, -m_popup_window->height()));
dbg() << "Popup rect: " << m_popup_window->rect();
dbgln("Popup rect: {}", m_popup_window->rect());
m_popup_window->show();
}