Commit f133de56 authored by Jakob Erzar's avatar Jakob Erzar Committed by Harald Sitter
Browse files

Display amount of disk space actually available to the user

parent 70795c19
......@@ -173,7 +173,7 @@ DiskList::DiskList()
disk.mount = storage.rootPath();
disk.name = storage.name();
disk.size = storage.bytesTotal();
disk.free = storage.bytesFree();
disk.free = storage.bytesAvailable();
disk.used = disk.size - disk.free;
// if something is mounted over same path, last mounted point would be used since only it is currently reachable.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment