Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profileeditordialog.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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 ) { | |||
197 | if ( !m_con ) { | 197 | if ( !m_con ) { |
198 | m_con = new NoOptions( str, m_svCon->viewport(), "name"); | 198 | m_con = new NoOptions( str, m_svCon->viewport(), "name"); |
199 | } | 199 | } |
200 | |||
201 | // FIXME ugly hack right. Right solution would be to look into the layer and see if it | ||
202 | // supports auto connect and then set it as prefered | ||
203 | //if ( ( )->layer()->supports()[0] == 1 ) { | ||
204 | if ( m_conCmb ->currentText() == "local Console" ) { | ||
205 | m_autoConnect->setChecked( true ); | ||
206 | } else { | ||
207 | m_autoConnect->setChecked( false ); | ||
208 | } | ||
209 | |||
200 | m_con->load( m_prof ); | 210 | m_con->load( m_prof ); |
201 | m_svCon->addChild( m_con ); | 211 | m_svCon->addChild( m_con ); |
202 | } | 212 | } |