summaryrefslogtreecommitdiff
path: root/noncore/tools/remote/mainview.cpp
Side-by-side diff
Diffstat (limited to 'noncore/tools/remote/mainview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/remote/mainview.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/noncore/tools/remote/mainview.cpp b/noncore/tools/remote/mainview.cpp
index a7be9e3..eaba7df 100644
--- a/noncore/tools/remote/mainview.cpp
+++ b/noncore/tools/remote/mainview.cpp
@@ -23,27 +23,24 @@ MainView::MainView(QWidget *parent, const char *name) : QWidget(parent, name)
QVBoxLayout *layout = new QVBoxLayout(this);
QTabWidget *tabs = new QTabWidget(this);
layout->addWidget(tabs);
- printf("MainView: 1\n");
remote = new RemoteTab(tabs);
- printf("MainView: 2\n");
learn = new LearnTab(tabs);
- printf("MainView: 3\n");
config = new ConfigTab(tabs);
- printf("MainView: 4\n");
+ help = new HelpTab(tabs);
connect(config, SIGNAL(remotesChanged()), this, SLOT(updateRemotesList()) );
- printf("MainView: 5\n");
remote->setIRSocket(fd);
tabs->addTab(remote, tr("Remote") );
tabs->addTab(learn,tr("Learn") );
tabs->addTab(config,tr("Config") );
+ tabs->addTab(help, tr("Help") );
printf("1\n");
cfg = new Config("Remote");
printf("2\n");
remote->setConfig(cfg);