-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 @@ -81,8 +81,13 @@ void FileSysInfo::updateMounts() 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); @@ -134,9 +139,9 @@ MountInfo::MountInfo( FileSystem *filesys, QWidget *parent, const char *name ) 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 ); |