summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profilemanager.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/profilemanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profilemanager.cpp15
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
@@ -9,2 +9,3 @@
9 9
10#include "emulation_handler.h"
10#include "widget_layer.h" 11#include "widget_layer.h"
@@ -85,8 +86,10 @@ Session* ProfileManager::fromProfile( const Profile& prof, QWidget* parent) {
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();