summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/sysinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/sysinfo.cpp')
-rw-r--r--rbutil/rbutilqt/sysinfo.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/sysinfo.cpp b/rbutil/rbutilqt/sysinfo.cpp
index 7d2b2abf17..1b2f44923b 100644
--- a/rbutil/rbutilqt/sysinfo.cpp
+++ b/rbutil/rbutilqt/sysinfo.cpp
@@ -64,13 +64,15 @@ QString Sysinfo::getInfo()
QStringList drives = Utils::mountpoints();
info += "<table>";
info += "<tr><td>" + tr("Mountpoint") + "</td><td>" + tr("Label")
- + "</td><td>" + tr("Free") + "</td><td>" + tr("Total") + "</td></tr>";
+ + "</td><td>" + tr("Free") + "</td><td>" + tr("Total") + "</td><td>"
+ + tr("Cluster Size") + "</td></tr>";
for(int i = 0; i < drives.size(); i++) {
- info += tr("<tr><td>%1</td><td>%4</td><td>%2 GiB</td><td>%3 GiB</td></tr>")
+ info += tr("<tr><td>%1</td><td>%4</td><td>%2 GiB</td><td>%3 GiB</td><td>%5</td></tr>")
.arg(QDir::toNativeSeparators(drives.at(i)))
.arg((double)Utils::filesystemFree(drives.at(i)) / (1<<30), 0, 'f', 2)
.arg((double)Utils::filesystemTotal(drives.at(i)) / (1<<30), 0, 'f', 2)
- .arg(Utils::filesystemName(drives.at(i)));
+ .arg(Utils::filesystemName(drives.at(i)))
+ .arg(Utils::filesystemClusterSize(drives.at(i)));
}
info += "</table>";
info += "<hr/>";