summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2005-01-15 23:01:55 (UTC)
committer mickeyl <mickeyl>2005-01-15 23:01:55 (UTC)
commit490b0398b7e11f1485b902a6d9b99b9152be2492 (patch) (unidiff)
tree8db1a44b807c5eab120cc23d5450440cd5ea59ca
parent9cdc5a15a6eaae0ddb782c5bd98210dc462c4621 (diff)
downloadopie-490b0398b7e11f1485b902a6d9b99b9152be2492.zip
opie-490b0398b7e11f1485b902a6d9b99b9152be2492.tar.gz
opie-490b0398b7e11f1485b902a6d9b99b9152be2492.tar.bz2
remove tmpfs entry which confuses users and show mountpoints. patches courtesy hrw
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/storage.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/settings/sysinfo/storage.cpp b/noncore/settings/sysinfo/storage.cpp
index fc583e3..9f70fc5 100644
--- a/noncore/settings/sysinfo/storage.cpp
+++ b/noncore/settings/sysinfo/storage.cpp
@@ -82,6 +82,11 @@ void FileSysInfo::updateMounts()
82 { 82 {
83 fs = it.current(); 83 fs = it.current();
84 84
85 if(fs->disk().left(5) == "tmpfs")
86 {
87 continue;
88 }
89
85 if ( !frst ) 90 if ( !frst )
86 { 91 {
87 QFrame *f = new QFrame( container ); 92 QFrame *f = new QFrame( container );
@@ -135,7 +140,7 @@ MountInfo::MountInfo( FileSystem *filesys, QWidget *parent, const char *name )
135 vb->addWidget( totalSize ); 140 vb->addWidget( totalSize );
136 141
137 fs = filesys; 142 fs = filesys;
138 title = fs->name(); 143 title = fs->name() + "\t (" + fs->path() + ')';
139 144
140 data = new GraphData(); 145 data = new GraphData();
141 graph = new BarGraph( this ); 146 graph = new BarGraph( this );