1
Fork 0
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:
Andreas Kling 2019-03-25 04:25:25 +01:00
parent 32191b0d4b
commit 614dafea32
9 changed files with 63 additions and 11 deletions

View file

@ -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);
}