mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
FileManager+FileOperation: Switch to east const
(And some adjustments based on MaxWipfli's feedback)
This commit is contained in:
parent
5217875f6a
commit
ca039e6ba1
10 changed files with 93 additions and 93 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
namespace FileUtils {
|
||||
|
||||
void delete_path(const String& path, GUI::Window* parent_window)
|
||||
void delete_path(String const& path, GUI::Window* parent_window)
|
||||
{
|
||||
struct stat st;
|
||||
if (lstat(path.characters(), &st)) {
|
||||
|
@ -43,7 +43,7 @@ void delete_path(const String& path, GUI::Window* parent_window)
|
|||
}
|
||||
}
|
||||
|
||||
void delete_paths(const Vector<String>& paths, bool should_confirm, GUI::Window* parent_window)
|
||||
void delete_paths(Vector<String> const& paths, bool should_confirm, GUI::Window* parent_window)
|
||||
{
|
||||
String message;
|
||||
if (paths.size() == 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue