From 08e9fcbbaf57383fd65fe4eb197d97a51abe0f26 Mon Sep 17 00:00:00 2001 From: harlekin Date: Thu, 17 Oct 2002 17:56:30 +0000 Subject: autologin if profiles io layer offers it --- (limited to 'noncore/apps/opie-console/mainwindow.cpp') 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 @@ -398,6 +398,11 @@ void MainWindow::create( const Profile& prof ) { tabWidget()->add( ses ); 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 ); m_disconnect->setEnabled( false ); -- cgit v0.9.0.2