summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/sysinfo.cpp
Unidiff
Diffstat (limited to 'noncore/settings/sysinfo/sysinfo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/sysinfo.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/noncore/settings/sysinfo/sysinfo.cpp b/noncore/settings/sysinfo/sysinfo.cpp
index ca08ae2..a6d7f1c 100644
--- a/noncore/settings/sysinfo/sysinfo.cpp
+++ b/noncore/settings/sysinfo/sysinfo.cpp
@@ -17,6 +17,10 @@
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20**
21** Enhancements by: Dan Williams, <williamsdr@acm.org>
22**
23**********************************************************************/
20 24
21#include "memory.h" 25#include "memory.h"
22#include "load.h" 26#include "load.h"
@@ -26,7 +30,7 @@
26#include "versioninfo.h" 30#include "versioninfo.h"
27#include "sysinfo.h" 31#include "sysinfo.h"
28 32
29#include "otabwidget.h" 33#include <opie/otabwidget.h>
30 34
31#include <qpe/config.h> 35#include <qpe/config.h>
32#include <qpe/resource.h> 36#include <qpe/resource.h>
@@ -46,7 +50,7 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags f )
46 bool advanced = config.readBoolEntry( "Advanced", TRUE ); 50 bool advanced = config.readBoolEntry( "Advanced", TRUE );
47 51
48 QVBoxLayout *lay = new QVBoxLayout( this ); 52 QVBoxLayout *lay = new QVBoxLayout( this );
49 OTabWidget *tab = new OTabWidget( this, "tabwidget", OTabWidget::Global, OTabWidget::Bottom ); 53 OTabWidget *tab = new OTabWidget( this, "tabwidget", OTabWidget::Global );
50 lay->addWidget( tab ); 54 lay->addWidget( tab );
51 tab->addTab( new MemoryInfo( tab ), "sysinfo/memorytabicon.png", tr("Memory") ); 55 tab->addTab( new MemoryInfo( tab ), "sysinfo/memorytabicon.png", tr("Memory") );
52#if defined(_OS_LINUX_) || defined(Q_OS_LINUX) 56#if defined(_OS_LINUX_) || defined(Q_OS_LINUX)
@@ -60,6 +64,7 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags f )
60 } 64 }
61 tab->addTab( new VersionInfo( tab ), "sysinfo/versiontabicon.png", tr("Version") ); 65 tab->addTab( new VersionInfo( tab ), "sysinfo/versiontabicon.png", tr("Version") );
62 66
67 tab->setCurrentTab( tr( "Memory" ) );
63} 68}
64 69
65 70