From 490b0398b7e11f1485b902a6d9b99b9152be2492 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sat, 15 Jan 2005 23:01:55 +0000 Subject: remove tmpfs entry which confuses users and show mountpoints. patches courtesy hrw --- 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() { fs = it.current(); + if(fs->disk().left(5) == "tmpfs") + { + continue; + } + if ( !frst ) { QFrame *f = new QFrame( container ); @@ -135,7 +140,7 @@ MountInfo::MountInfo( FileSystem *filesys, QWidget *parent, const char *name ) vb->addWidget( totalSize ); fs = filesys; - title = fs->name(); + title = fs->name() + "\t (" + fs->path() + ')'; data = new GraphData(); graph = new BarGraph( this ); -- cgit v0.9.0.2