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
commit ca039e6ba1
Notes: sideshowbarker 2024-07-18 08:34:56 +09:00
10 changed files with 93 additions and 93 deletions

View file

@ -26,7 +26,7 @@
#include <string.h>
#include <unistd.h>
PropertiesWindow::PropertiesWindow(const String& path, bool disable_rename, Window* parent_window)
PropertiesWindow::PropertiesWindow(String const& path, bool disable_rename, Window* parent_window)
: Window(parent_window)
{
auto lexical_path = LexicalPath(path);
@ -184,7 +184,7 @@ void PropertiesWindow::permission_changed(mode_t mask, bool set)
m_apply_button->set_enabled(m_name_dirty || m_permissions_dirty);
}
String PropertiesWindow::make_full_path(const String& name)
String PropertiesWindow::make_full_path(String const& name)
{
return String::formatted("{}/{}", m_parent_path, name);
}