author | harlekin <harlekin> | 2002-10-17 17:56:30 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-17 17:56:30 (UTC) |
commit | 08e9fcbbaf57383fd65fe4eb197d97a51abe0f26 (patch) (side-by-side diff) | |
tree | 5d7fc6d46ae5721481e1f8f98a7872416f720993 | |
parent | eb70c5c231b80d1e925b0098ad3c951917900071 (diff) | |
download | opie-08e9fcbbaf57383fd65fe4eb197d97a51abe0f26.zip opie-08e9fcbbaf57383fd65fe4eb197d97a51abe0f26.tar.gz opie-08e9fcbbaf57383fd65fe4eb197d97a51abe0f26.tar.bz2 |
autologin if profiles io layer offers it
-rw-r--r-- | noncore/apps/opie-console/MyPty.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 5 |
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 @@ -317,5 +317,7 @@ void MyPty::readPty() QBitArray MyPty::supports()const { QBitArray ar(3); + //autoconnect ar[0] = 1; + // ar[1] = 0; ar[2] = 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 @@ -399,4 +399,9 @@ void MainWindow::create( const Profile& prof ) { m_curSession = ses; + // 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 m_connect->setEnabled( true ); |