summary refs log tree commit diff
path: root/src/Utils.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-02-19 22:09:21 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-02-19 22:09:21 +0200
commit8b139c32a3b4a92e32a4737b599cf14e61b8a096 (patch)
tree6d145d2a1098753286929d516dff983e31479349 /src/Utils.cc
parentNotify the user on upload failures (diff)
downloadnheko-8b139c32a3b4a92e32a4737b599cf14e61b8a096.tar.xz
Minor adjustments
Diffstat (limited to 'src/Utils.cc')
-rw-r--r--src/Utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.cc b/src/Utils.cc

index 858d4e76..6f438c20 100644 --- a/src/Utils.cc +++ b/src/Utils.cc
@@ -135,7 +135,7 @@ utils::firstChar(const QString &input) } QString -utils::humanReadableFileSize(const uint64_t bytes) +utils::humanReadableFileSize(uint64_t bytes) { constexpr static const char *units[] = {"B", "KiB", "MiB", "GiB", "TiB"}; constexpr static const int length = sizeof(units) / sizeof(units[0]);