summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/sysinfo.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-10-04 11:26:40 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-10-04 11:31:30 +0200
commit74258fca311b2d7e9d834ab8607f2bd326f67807 (patch)
treea5eee6ed712e5876f08b2b70e3a96b0c05758b62 /rbutil/rbutilqt/sysinfo.cpp
parent1aa739e3c3d1ce25cdebe285847c3c493756d5d6 (diff)
downloadrockbox-74258fca311b2d7e9d834ab8607f2bd326f67807.tar.gz
rockbox-74258fca311b2d7e9d834ab8607f2bd326f67807.tar.bz2
rockbox-74258fca311b2d7e9d834ab8607f2bd326f67807.zip
rbutil: Replace sysinfo filesystem cluster size with type.
The cluster size isn't too useful. Show the filesystem type instead, since that makes it easier to identify a device not showing up because of its filesystem type. Change-Id: I8f58ea23ab90808ab0c37978b211a5470ed8bb8e
Diffstat (limited to 'rbutil/rbutilqt/sysinfo.cpp')
-rw-r--r--rbutil/rbutilqt/sysinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/sysinfo.cpp b/rbutil/rbutilqt/sysinfo.cpp
index 75ade2438f..9160ce9d9a 100644
--- a/rbutil/rbutilqt/sysinfo.cpp
+++ b/rbutil/rbutilqt/sysinfo.cpp
@@ -65,14 +65,14 @@ QString Sysinfo::getInfo(Sysinfo::InfoType type)
info += "<table>";
info += "<tr><td>" + tr("Mountpoint") + "</td><td>" + tr("Label")
+ "</td><td>" + tr("Free") + "</td><td>" + tr("Total") + "</td><td>"
- + tr("Cluster Size") + "</td></tr>";
+ + tr("Type") + "</td><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><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::filesystemClusterSize(drives.at(i)));
+ .arg(Utils::filesystemType(drives.at(i)));
}
info += "</table>";
info += "<hr/>";