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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/settings/sysinfo/sysinfo.cpp b/noncore/settings/sysinfo/sysinfo.cpp
index 5f7b527..fda6352 100644
--- a/noncore/settings/sysinfo/sysinfo.cpp
+++ b/noncore/settings/sysinfo/sysinfo.cpp
@@ -27,6 +27,7 @@
27#include "storage.h" 27#include "storage.h"
28#include "processinfo.h" 28#include "processinfo.h"
29#include "modulesinfo.h" 29#include "modulesinfo.h"
30#include "benchmarkinfo.h"
30#include "versioninfo.h" 31#include "versioninfo.h"
31#include "sysinfo.h" 32#include "sysinfo.h"
32 33
@@ -52,6 +53,7 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags )
52 QVBoxLayout *lay = new QVBoxLayout( this ); 53 QVBoxLayout *lay = new QVBoxLayout( this );
53 OTabWidget *tab = new OTabWidget( this, "tabwidget", OTabWidget::Global ); 54 OTabWidget *tab = new OTabWidget( this, "tabwidget", OTabWidget::Global );
54 lay->addWidget( tab ); 55 lay->addWidget( tab );
56
55 tab->addTab( new MemoryInfo( tab ), "sysinfo/memorytabicon", tr("Memory") ); 57 tab->addTab( new MemoryInfo( tab ), "sysinfo/memorytabicon", tr("Memory") );
56#if defined(_OS_LINUX_) || defined(Q_OS_LINUX) 58#if defined(_OS_LINUX_) || defined(Q_OS_LINUX)
57 tab->addTab( new FileSysInfo( tab ), "sysinfo/storagetabicon", tr("Storage") ); 59 tab->addTab( new FileSysInfo( tab ), "sysinfo/storagetabicon", tr("Storage") );
@@ -62,6 +64,7 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags )
62 tab->addTab( new ProcessInfo( tab ), "sysinfo/processtabicon", tr("Process") ); 64 tab->addTab( new ProcessInfo( tab ), "sysinfo/processtabicon", tr("Process") );
63 tab->addTab( new ModulesInfo( tab ), "sysinfo/moduletabicon", tr("Modules") ); 65 tab->addTab( new ModulesInfo( tab ), "sysinfo/moduletabicon", tr("Modules") );
64 } 66 }
67 tab->addTab( new BenchmarkInfo( tab ), "sysinfo/benchmarktabicon", tr( "Benchmark" ) );
65 tab->addTab( new VersionInfo( tab ), "sysinfo/versiontabicon", tr("Version") ); 68 tab->addTab( new VersionInfo( tab ), "sysinfo/versiontabicon", tr("Version") );
66 69
67 tab->setCurrentTab( tr( "Memory" ) ); 70 tab->setCurrentTab( tr( "Memory" ) );