mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:07:46 +00:00
Assistant: Keep the set of providers in a Vector for easy iteration
This commit is contained in:
parent
ee991fa4e0
commit
e4199beccc
3 changed files with 19 additions and 26 deletions
|
@ -120,6 +120,11 @@ Gfx::Bitmap const* FileResult::bitmap() const
|
|||
return GUI::FileIconProvider::icon_for_path(title()).bitmap_for_size(16);
|
||||
}
|
||||
|
||||
FileProvider::FileProvider()
|
||||
{
|
||||
build_filesystem_cache();
|
||||
}
|
||||
|
||||
void FileProvider::query(const String& query, Function<void(NonnullRefPtrVector<Result>)> on_complete)
|
||||
{
|
||||
build_filesystem_cache();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue