summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/sysinfo.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/sysinfo/sysinfo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/sysinfo.cpp17
1 files changed, 4 insertions, 13 deletions
diff --git a/noncore/settings/sysinfo/sysinfo.cpp b/noncore/settings/sysinfo/sysinfo.cpp
index 7000175..03db22a 100644
--- a/noncore/settings/sysinfo/sysinfo.cpp
+++ b/noncore/settings/sysinfo/sysinfo.cpp
@@ -25,3 +25,3 @@
#include "memory.h"
-#include "load.h"
+#include "devicesinfo.h"
#include "storage.h"
@@ -49,8 +49,2 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags )
- resize( 220, 180 );
-
- Config config( "qpe" );
- config.setGroup( "Appearance" );
- bool advanced = config.readBoolEntry( "Advanced", TRUE );
-
QVBoxLayout *lay = new QVBoxLayout( this );
@@ -63,8 +57,5 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags )
#endif
- tab->addTab( new LoadInfo( tab ), "sysinfo/cputabicon", tr("CPU") );
- if ( advanced )
- {
- tab->addTab( new ProcessInfo( tab ), "sysinfo/processtabicon", tr( "Process" ) );
- tab->addTab( new ModulesInfo( tab ), "sysinfo/moduletabicon", tr( "Modules" ) );
- }
+ tab->addTab( new DevicesInfo( tab ), "sysinfo/cputabicon", tr("Devices") );
+ tab->addTab( new ProcessInfo( tab ), "sysinfo/processtabicon", tr( "Process" ) );
+ tab->addTab( new ModulesInfo( tab ), "sysinfo/moduletabicon", tr( "Modules" ) );
tab->addTab( new SyslogInfo( tab ), "sysinfo/syslogtabicon", tr( "Syslog" ) );