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

ChanViewer: Add a status bar to show loading status

Also update the window title with the current board after loading. :^)
This commit is contained in:
Andreas Kling 2019-08-05 18:54:44 +02:00
parent fdcaf2d2b5
commit cd08c8e1bf
3 changed files with 30 additions and 2 deletions

View file

@ -25,8 +25,12 @@ public:
virtual GVariant data(const GModelIndex&, Role = Role::Display) const override;
virtual void update() override;
const String& board() const { return m_board; }
void set_board(const String&);
Function<void()> on_load_started;
Function<void(bool success)> on_load_finished;
private:
ThreadCatalogModel();