summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/MyPty.cpp2
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp5
2 files changed, 7 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/MyPty.cpp b/noncore/apps/opie-console/MyPty.cpp
index 565d03f..a2373bf 100644
--- a/noncore/apps/opie-console/MyPty.cpp
+++ b/noncore/apps/opie-console/MyPty.cpp
@@ -318,3 +318,5 @@ QBitArray MyPty::supports()const {
QBitArray ar(3);
+ //autoconnect
ar[0] = 1;
+ //
ar[1] = 0;
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index 3066b35..fdb0452 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -400,2 +400,7 @@ void MainWindow::create( const Profile& prof ) {
+ // is io_layer wants direct connection, then autoconnect
+ if ( ( m_curSession->layer() )->supports()[0] = 1 ) {
+ slotConnect();
+ }
+
// dicide if its a local term ( then no connction and no tranfer), maybe make a wrapper method out of it