mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 08:55:07 +00:00
FileManager+LibGUI: Show thumbnail generation progress in the statusbar.
This commit is contained in:
parent
32191b0d4b
commit
614dafea32
9 changed files with 63 additions and 11 deletions
|
@ -29,6 +29,11 @@ DirectoryView::DirectoryView(GWidget* parent)
|
|||
}
|
||||
};
|
||||
|
||||
m_model->on_thumbnail_progress = [this] (int done, int total) {
|
||||
if (on_thumbnail_progress)
|
||||
on_thumbnail_progress(done, total);
|
||||
};
|
||||
|
||||
set_view_mode(ViewMode::Icon);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue