Diffstat (limited to 'noncore/settings/sysinfo/sysinfo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/sysinfo.cpp | 17 |
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 @@ | |||
25 | #include "memory.h" | 25 | #include "memory.h" |
26 | #include "load.h" | 26 | #include "devicesinfo.h" |
27 | #include "storage.h" | 27 | #include "storage.h" |
@@ -49,8 +49,2 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags ) | |||
49 | 49 | ||
50 | resize( 220, 180 ); | ||
51 | |||
52 | Config config( "qpe" ); | ||
53 | config.setGroup( "Appearance" ); | ||
54 | bool advanced = config.readBoolEntry( "Advanced", TRUE ); | ||
55 | |||
56 | QVBoxLayout *lay = new QVBoxLayout( this ); | 50 | QVBoxLayout *lay = new QVBoxLayout( this ); |
@@ -63,8 +57,5 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags ) | |||
63 | #endif | 57 | #endif |
64 | tab->addTab( new LoadInfo( tab ), "sysinfo/cputabicon", tr("CPU") ); | 58 | tab->addTab( new DevicesInfo( tab ), "sysinfo/cputabicon", tr("Devices") ); |
65 | if ( advanced ) | 59 | tab->addTab( new ProcessInfo( tab ), "sysinfo/processtabicon", tr( "Process" ) ); |
66 | { | 60 | tab->addTab( new ModulesInfo( tab ), "sysinfo/moduletabicon", tr( "Modules" ) ); |
67 | tab->addTab( new ProcessInfo( tab ), "sysinfo/processtabicon", tr( "Process" ) ); | ||
68 | tab->addTab( new ModulesInfo( tab ), "sysinfo/moduletabicon", tr( "Modules" ) ); | ||
69 | } | ||
70 | tab->addTab( new SyslogInfo( tab ), "sysinfo/syslogtabicon", tr( "Syslog" ) ); | 61 | tab->addTab( new SyslogInfo( tab ), "sysinfo/syslogtabicon", tr( "Syslog" ) ); |