diff options
author | Lorn Potter <lorn.potter@nokia.com> | 2011-03-21 15:30:21 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@nokia.com> | 2011-03-21 15:30:21 +1000 |
commit | 61151aee748b35b5415db295c4cfbbcf49154758 (patch) | |
tree | b0a4b96189b950df3c0972850e53b5be89e15448 /examples/sysinfo/dialog.cpp | |
parent | e16f6f72db2be785c281e00671c33afdf9f113ae (diff) |
make sire to use human readable when storage changed
Diffstat (limited to 'examples/sysinfo/dialog.cpp')
-rw-r--r-- | examples/sysinfo/dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sysinfo/dialog.cpp b/examples/sysinfo/dialog.cpp index 357eb0da3d..8096b686fa 100644 --- a/examples/sysinfo/dialog.cpp +++ b/examples/sysinfo/dialog.cpp @@ -1114,7 +1114,7 @@ void Dialog::keyboardFlipped(bool on) void Dialog::storageStateChanged(const QString &vol, QSystemStorageInfo::StorageState state) { QList<QTreeWidgetItem *>item = storageTreeWidget->findItems(vol,Qt::MatchExactly,0); - item.at(0)->setText(3,QString::number(sti->availableDiskSpace(item.at(0)->text(0)))); + item.at(0)->setText(3,sizeToString(sti->availableDiskSpace(item.at(0)->text(0)))); item.at(0)->setText(5,storageStateToString(state)); } |