mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
HackStudio: Use new format functions.
This commit is contained in:
parent
3b601cd4bd
commit
7c4fb2b804
Notes:
sideshowbarker
2024-07-19 01:56:57 +09:00
Author: https://github.com/asynts
Commit: 7c4fb2b804
Pull-request: https://github.com/SerenityOS/serenity/pull/3731
23 changed files with 112 additions and 117 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue