-rw-r--r-- | noncore/settings/sysinfo/storage.cpp | 7 |
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 @@ -79,12 +79,17 @@ void FileSysInfo::updateMounts() FileSystem *fs; for ( QListIterator<FileSystem> it(storage->fileSystems()); it.current(); ++it ) { fs = it.current(); + if(fs->disk().left(5) == "tmpfs") + { + continue; + } + if ( !frst ) { QFrame *f = new QFrame( container ); vb->addWidget(f); f->setFrameStyle( QFrame::HLine | QFrame::Sunken ); lines.append(f); @@ -132,13 +137,13 @@ MountInfo::MountInfo( FileSystem *filesys, QWidget *parent, const char *name ) QVBoxLayout *vb = new QVBoxLayout( this, 3 ); totalSize = new QLabel( this ); vb->addWidget( totalSize ); fs = filesys; - title = fs->name(); + title = fs->name() + "\t (" + fs->path() + ')'; data = new GraphData(); graph = new BarGraph( this ); graph->setFrameStyle( QFrame::Panel | QFrame::Sunken ); vb->addWidget( graph, 1 ); graph->setData( data ); |