diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-11-11 01:31:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-11-12 22:11:27 +0100 |
| commit | dfa7b94e802b05bba4243381460eef96626102a0 (patch) | |
| tree | 348ab6b50c7b074e351f2577101ae583a1597c58 /src/lib/uploader.cc | |
| parent | 0f225b6df7a9603678a5bd84f9428ff6fb56aea2 (diff) | |
Replace deprecated leaf() with filename().
Diffstat (limited to 'src/lib/uploader.cc')
| -rw-r--r-- | src/lib/uploader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/uploader.cc b/src/lib/uploader.cc index c5448e469..f2a47f50e 100644 --- a/src/lib/uploader.cc +++ b/src/lib/uploader.cc @@ -76,7 +76,7 @@ Uploader::upload_directory (boost::filesystem::path base, boost::filesystem::pat if (is_directory(i.path())) { upload_directory (base, i.path(), transferred, total_size); } else { - _set_status (String::compose(_("copying %1"), i.path().leaf())); + _set_status(String::compose(_("copying %1"), i.path().filename())); upload_file (i.path(), remove_prefix (base, i.path()), transferred, total_size); } } |
