summaryrefslogtreecommitdiff
path: root/noncore/tools/remote/mainview.cpp
Unidiff
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)
23 23
24 QVBoxLayout *layout = new QVBoxLayout(this); 24 QVBoxLayout *layout = new QVBoxLayout(this);
25 QTabWidget *tabs = new QTabWidget(this); 25 QTabWidget *tabs = new QTabWidget(this);
26 26
27 layout->addWidget(tabs); 27 layout->addWidget(tabs);
28 28
29 printf("MainView: 1\n");
30 remote = new RemoteTab(tabs); 29 remote = new RemoteTab(tabs);
31 printf("MainView: 2\n");
32 learn = new LearnTab(tabs); 30 learn = new LearnTab(tabs);
33 printf("MainView: 3\n");
34 config = new ConfigTab(tabs); 31 config = new ConfigTab(tabs);
35 printf("MainView: 4\n"); 32 help = new HelpTab(tabs);
36 connect(config, SIGNAL(remotesChanged()), this, SLOT(updateRemotesList()) ); 33 connect(config, SIGNAL(remotesChanged()), this, SLOT(updateRemotesList()) );
37 printf("MainView: 5\n");
38 34
39 remote->setIRSocket(fd); 35 remote->setIRSocket(fd);
40 36
41 tabs->addTab(remote, tr("Remote") ); 37 tabs->addTab(remote, tr("Remote") );
42 tabs->addTab(learn,tr("Learn") ); 38 tabs->addTab(learn,tr("Learn") );
43 tabs->addTab(config,tr("Config") ); 39 tabs->addTab(config,tr("Config") );
40 tabs->addTab(help, tr("Help") );
44 41
45 printf("1\n"); 42 printf("1\n");
46 cfg = new Config("Remote"); 43 cfg = new Config("Remote");
47 printf("2\n"); 44 printf("2\n");
48 45
49 remote->setConfig(cfg); 46 remote->setConfig(cfg);