diff options
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r-- | rbutil/rbutilqt/sysinfo.cpp | 8 | ||||
-rw-r--r-- | rbutil/rbutilqt/sysinfofrm.ui | 4 |
2 files changed, 7 insertions, 5 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() | |||
64 | QStringList drives = Utils::mountpoints(); | 64 | QStringList drives = Utils::mountpoints(); |
65 | info += "<table>"; | 65 | info += "<table>"; |
66 | info += "<tr><td>" + tr("Mountpoint") + "</td><td>" + tr("Label") | 66 | info += "<tr><td>" + tr("Mountpoint") + "</td><td>" + tr("Label") |
67 | + "</td><td>" + tr("Free") + "</td><td>" + tr("Total") + "</td></tr>"; | 67 | + "</td><td>" + tr("Free") + "</td><td>" + tr("Total") + "</td><td>" |
68 | + tr("Cluster Size") + "</td></tr>"; | ||
68 | for(int i = 0; i < drives.size(); i++) { | 69 | for(int i = 0; i < drives.size(); i++) { |
69 | info += tr("<tr><td>%1</td><td>%4</td><td>%2 GiB</td><td>%3 GiB</td></tr>") | 70 | info += tr("<tr><td>%1</td><td>%4</td><td>%2 GiB</td><td>%3 GiB</td><td>%5</td></tr>") |
70 | .arg(QDir::toNativeSeparators(drives.at(i))) | 71 | .arg(QDir::toNativeSeparators(drives.at(i))) |
71 | .arg((double)Utils::filesystemFree(drives.at(i)) / (1<<30), 0, 'f', 2) | 72 | .arg((double)Utils::filesystemFree(drives.at(i)) / (1<<30), 0, 'f', 2) |
72 | .arg((double)Utils::filesystemTotal(drives.at(i)) / (1<<30), 0, 'f', 2) | 73 | .arg((double)Utils::filesystemTotal(drives.at(i)) / (1<<30), 0, 'f', 2) |
73 | .arg(Utils::filesystemName(drives.at(i))); | 74 | .arg(Utils::filesystemName(drives.at(i))) |
75 | .arg(Utils::filesystemClusterSize(drives.at(i))); | ||
74 | } | 76 | } |
75 | info += "</table>"; | 77 | info += "</table>"; |
76 | info += "<hr/>"; | 78 | info += "<hr/>"; |
diff --git a/rbutil/rbutilqt/sysinfofrm.ui b/rbutil/rbutilqt/sysinfofrm.ui index b2340a6310..c7e7716f77 100644 --- a/rbutil/rbutilqt/sysinfofrm.ui +++ b/rbutil/rbutilqt/sysinfofrm.ui | |||
@@ -5,8 +5,8 @@ | |||
5 | <rect> | 5 | <rect> |
6 | <x>0</x> | 6 | <x>0</x> |
7 | <y>0</y> | 7 | <y>0</y> |
8 | <width>400</width> | 8 | <width>600</width> |
9 | <height>300</height> | 9 | <height>400</height> |
10 | </rect> | 10 | </rect> |
11 | </property> | 11 | </property> |
12 | <property name="windowTitle" > | 12 | <property name="windowTitle" > |