1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:27:46 +00:00

FileManager+FileOperation: Switch to east const

(And some adjustments based on MaxWipfli's feedback)
This commit is contained in:
Sam Atkins 2021-06-17 11:23:12 +01:00 committed by Andreas Kling
parent 5217875f6a
commit ca039e6ba1
10 changed files with 93 additions and 93 deletions

View file

@ -21,7 +21,7 @@ public:
virtual ~PropertiesWindow() override;
private:
PropertiesWindow(const String& path, bool disable_rename, Window* parent = nullptr);
PropertiesWindow(String const& path, bool disable_rename, Window* parent = nullptr);
struct PropertyValuePair {
String property;
@ -35,7 +35,7 @@ private:
mode_t execute;
};
static const String get_description(const mode_t mode)
static String const get_description(mode_t const mode)
{
if (S_ISREG(mode))
return "File";
@ -62,7 +62,7 @@ private:
void permission_changed(mode_t mask, bool set);
bool apply_changes();
void update();
String make_full_path(const String& name);
String make_full_path(String const& name);
RefPtr<GUI::Button> m_apply_button;
RefPtr<GUI::TextBox> m_name_box;