mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
Taskbar: Handle errors when adding/changing quick launch entries
This patch removes 2 FIXMEs :^)
This commit is contained in:
parent
1acc788500
commit
4fec9540ec
2 changed files with 27 additions and 16 deletions
|
@ -90,9 +90,10 @@ public:
|
|||
virtual void drop_event(GUI::DropEvent&) override;
|
||||
|
||||
private:
|
||||
explicit QuickLaunchWidget(Vector<NonnullOwnPtr<QuickLaunchEntry>> entries);
|
||||
void add_or_adjust_button(DeprecatedString const&, NonnullOwnPtr<QuickLaunchEntry>&&);
|
||||
explicit QuickLaunchWidget();
|
||||
ErrorOr<void> add_or_adjust_button(DeprecatedString const&, NonnullOwnPtr<QuickLaunchEntry>&&);
|
||||
ErrorOr<void> create_context_menu();
|
||||
ErrorOr<void> add_quick_launch_buttons(Vector<NonnullOwnPtr<QuickLaunchEntry>> entries);
|
||||
|
||||
RefPtr<GUI::Menu> m_context_menu;
|
||||
RefPtr<GUI::Action> m_context_menu_default_action;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue