mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +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
Notes:
sideshowbarker
2024-07-18 08:34:56 +09:00
Author: https://github.com/AtkinsSJ
Commit: ca039e6ba1
Pull-request: https://github.com/SerenityOS/serenity/pull/8117
Reviewed-by: https://github.com/MaxWipfli ✅
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