From 22b0ba0100376c6406d3ee0ea65b013660ebaea0 Mon Sep 17 00:00:00 2001 From: harlekin Date: Thu, 24 Oct 2002 13:27:07 +0000 Subject: set autoconnect by default for local console mode --- (limited to 'noncore/apps') diff --git a/noncore/apps/opie-console/BUGS b/noncore/apps/opie-console/BUGS index b9d8ca3..7fae567 100644 --- a/noncore/apps/opie-console/BUGS +++ b/noncore/apps/opie-console/BUGS @@ -6,8 +6,6 @@ and we need to work around some compiler bugs!! -zecke Send/receive: lrzsz behaves strange when trying to use --overwrite or --rename. -- console should autoconnect by default - - keys and buttonbar merge - keys really working @@ -21,18 +19,6 @@ Send/receive: lrzsz behaves strange when trying to use - an indication that it is currently recording, also change menu entry to "cancel recording" then -- kill more compiler warnings. - -- more colorshemes ( "orange is ugly" ) - -- irda and bluetooth out ( can be done with normal serial as long as the -connection is allready up, and extended stuff is a lot of work; maybe later -in again ). - -- new conntection -> configure -> use . does not end up in profile dialog, - -- disable tranfer file for console mode - - scripts need an extension and also an icon - help documentation needs to be extended diff --git a/noncore/apps/opie-console/io_layer.h b/noncore/apps/opie-console/io_layer.h index 97a1e1c..af61099 100644 --- a/noncore/apps/opie-console/io_layer.h +++ b/noncore/apps/opie-console/io_layer.h @@ -28,8 +28,8 @@ public: }; enum Feature { AutoConnect = 0, - TransferFile =1, - Close =2 + TransferFile = 1, + Close = 2 }; /** * a small c'tor diff --git a/noncore/apps/opie-console/profileeditordialog.cpp b/noncore/apps/opie-console/profileeditordialog.cpp index 9890c3e..127009b 100644 --- a/noncore/apps/opie-console/profileeditordialog.cpp +++ b/noncore/apps/opie-console/profileeditordialog.cpp @@ -197,6 +197,16 @@ void ProfileEditorDialog::slotConActivated( const QString& str ) { if ( !m_con ) { m_con = new NoOptions( str, m_svCon->viewport(), "name"); } + + // FIXME ugly hack right. Right solution would be to look into the layer and see if it + // supports auto connect and then set it as prefered + //if ( ( )->layer()->supports()[0] == 1 ) { + if ( m_conCmb ->currentText() == "local Console" ) { + m_autoConnect->setChecked( true ); + } else { + m_autoConnect->setChecked( false ); + } + m_con->load( m_prof ); m_svCon->addChild( m_con ); } -- cgit v0.9.0.2