Diffstat (limited to 'noncore/apps/opie-console/profilemanager.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profilemanager.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/profilemanager.cpp b/noncore/apps/opie-console/profilemanager.cpp index 4b88dec..113327c 100644 --- a/noncore/apps/opie-console/profilemanager.cpp +++ b/noncore/apps/opie-console/profilemanager.cpp | |||
@@ -7,6 +7,7 @@ | |||
7 | 7 | ||
8 | #include <qpe/config.h> | 8 | #include <qpe/config.h> |
9 | 9 | ||
10 | #include "emulation_handler.h" | ||
10 | #include "widget_layer.h" | 11 | #include "widget_layer.h" |
11 | #include "emulation_widget.h" | 12 | #include "emulation_widget.h" |
12 | #include "metafactory.h" | 13 | #include "metafactory.h" |
@@ -83,12 +84,14 @@ Session* ProfileManager::fromProfile( const Profile& prof, QWidget* parent) { | |||
83 | QHBoxLayout* lay = new QHBoxLayout(dummy ); | 84 | QHBoxLayout* lay = new QHBoxLayout(dummy ); |
84 | stack->addWidget( dummy, 0 ); | 85 | stack->addWidget( dummy, 0 ); |
85 | stack->raiseWidget( 0 ); | 86 | stack->raiseWidget( 0 ); |
86 | WidgetLayer* wid = new EmulationWidget( prof, dummy ); | 87 | EmulationHandler* handler = new EmulationHandler(prof,dummy ); |
87 | lay->addWidget( wid ); | 88 | lay->addWidget( handler->widget() ); |
88 | 89 | // WidgetLayer* wid = new EmulationWidget( prof, dummy ); | |
89 | session->setEmulationWidget( wid ); | 90 | // lay->addWidget( wid ); |
90 | session->setEmulationLayer( m_fact->newEmulationLayer( m_fact->external( prof.terminalName() ), | 91 | |
91 | wid ) ); | 92 | // session->setEmulationWidget( wid ); |
93 | // session->setEmulationLayer( m_fact->newEmulationLayer( m_fact->external( prof.terminalName() ), | ||
94 | // wid ) ); | ||
92 | session->connect(); | 95 | session->connect(); |
93 | 96 | ||
94 | return session; | 97 | return session; |