mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:27:35 +00:00
FileManager: Make PropertiesWindow::make_button()
non-fallible
This commit is contained in:
parent
b4e134cb52
commit
5df88dab07
2 changed files with 7 additions and 7 deletions
|
@ -79,7 +79,7 @@ private:
|
|||
return "Unknown"sv;
|
||||
}
|
||||
|
||||
static ErrorOr<NonnullRefPtr<GUI::Button>> make_button(String, GUI::Widget& parent);
|
||||
static GUI::Button& make_button(String, GUI::Widget& parent);
|
||||
ErrorOr<void> setup_permission_checkboxes(GUI::CheckBox& box_read, GUI::CheckBox& box_write, GUI::CheckBox& box_execute, PermissionMasks masks, mode_t mode);
|
||||
void permission_changed(mode_t mask, bool set);
|
||||
bool apply_changes();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue