summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/storage.cpp
Unidiff
Diffstat (limited to 'noncore/settings/sysinfo/storage.cpp') (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
@@ -79,12 +79,17 @@ void FileSysInfo::updateMounts()
79 79
80 FileSystem *fs; 80 FileSystem *fs;
81 for ( QListIterator<FileSystem> it(storage->fileSystems()); it.current(); ++it ) 81 for ( QListIterator<FileSystem> it(storage->fileSystems()); it.current(); ++it )
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 );
88 vb->addWidget(f); 93 vb->addWidget(f);
89 f->setFrameStyle( QFrame::HLine | QFrame::Sunken ); 94 f->setFrameStyle( QFrame::HLine | QFrame::Sunken );
90 lines.append(f); 95 lines.append(f);
@@ -132,13 +137,13 @@ MountInfo::MountInfo( FileSystem *filesys, QWidget *parent, const char *name )
132 QVBoxLayout *vb = new QVBoxLayout( this, 3 ); 137 QVBoxLayout *vb = new QVBoxLayout( this, 3 );
133 138
134 totalSize = new QLabel( this ); 139 totalSize = new QLabel( this );
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 );
142 graph->setFrameStyle( QFrame::Panel | QFrame::Sunken ); 147 graph->setFrameStyle( QFrame::Panel | QFrame::Sunken );
143 vb->addWidget( graph, 1 ); 148 vb->addWidget( graph, 1 );
144 graph->setData( data ); 149 graph->setData( data );