summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profilemanager.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/profilemanager.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/profilemanager.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/profilemanager.cpp b/noncore/apps/opie-console/profilemanager.cpp
index e8bdb2e..95a46f9 100644
--- a/noncore/apps/opie-console/profilemanager.cpp
+++ b/noncore/apps/opie-console/profilemanager.cpp
@@ -74,2 +74,10 @@ Profile::ValueList ProfileManager::all()const {
Session* ProfileManager::fromProfile( const Profile& prof, QWidget* parent) {
+/* TEST PROFILE!!!
+ Profile prof;
+ QString str = "/dev/ttyS0";
+ prof.writeEntry("Device",str );
+ prof.writeEntry("Baud", 115200 );
+ prof.setIOLayer("serial");
+ prof.setName( "test");
+*/
Session* session = new Session();
@@ -87,2 +95,3 @@ Session* ProfileManager::fromProfile( const Profile& prof, QWidget* parent) {
EmulationHandler* handler = new EmulationHandler(prof,dummy );
+ session->setEmulationHandler( handler );
lay->addWidget( handler->widget() );