Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profileeditordialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.cpp b/noncore/apps/opie-console/profileeditordialog.cpp index 413e80b..1765d42 100644 --- a/noncore/apps/opie-console/profileeditordialog.cpp +++ b/noncore/apps/opie-console/profileeditordialog.cpp | |||
@@ -87,17 +87,17 @@ void ProfileEditorDialog::initUI() | |||
87 | vbox3->add(m_conCmb ); | 87 | vbox3->add(m_conCmb ); |
88 | vbox3->add(term ); | 88 | vbox3->add(term ); |
89 | vbox3->add(m_termCmb ); | 89 | vbox3->add(m_termCmb ); |
90 | vbox3->add(m_autoConnect); | 90 | vbox3->add(m_autoConnect); |
91 | vbox3->addStretch(1); | 91 | vbox3->addStretch(1); |
92 | 92 | ||
93 | m_showconntab = 0; | 93 | m_showconntab = 0; |
94 | tabWidget->addTab(tabprof, "", QObject::tr("Profile")); | 94 | tabWidget->addTab(tabprof, "", QObject::tr("Profile")); |
95 | //tabWidget->addTab(m_tabCon, "", QObject::tr("Connection")); | 95 | tabWidget->addTab(m_tabCon, "", QObject::tr("Connection")); |
96 | tabWidget->addTab(m_tabTerm, "", QObject::tr("Terminal")); | 96 | tabWidget->addTab(m_tabTerm, "", QObject::tr("Terminal")); |
97 | tabWidget->addTab(m_tabKey, "", QObject::tr("Special Keys")); | 97 | tabWidget->addTab(m_tabKey, "", QObject::tr("Special Keys")); |
98 | tabWidget->setCurrentTab( tabprof ); | 98 | tabWidget->setCurrentTab( tabprof ); |
99 | 99 | ||
100 | 100 | ||
101 | // fill the comboboxes | 101 | // fill the comboboxes |
102 | QStringList list = m_fact->connectionWidgets(); | 102 | QStringList list = m_fact->connectionWidgets(); |
103 | QStringList::Iterator it; | 103 | QStringList::Iterator it; |
@@ -180,17 +180,16 @@ void ProfileEditorDialog::slotConActivated( const QString& str ) { | |||
180 | m_con = m_fact->newConnectionPlugin( str, m_tabCon ); | 180 | m_con = m_fact->newConnectionPlugin( str, m_tabCon ); |
181 | 181 | ||
182 | if ( !m_con ) { | 182 | if ( !m_con ) { |
183 | m_con = new NoOptions( str, m_tabCon, "name"); | 183 | m_con = new NoOptions( str, m_tabCon, "name"); |
184 | } | 184 | } |
185 | m_con->load( m_prof ); | 185 | m_con->load( m_prof ); |
186 | m_layCon->addWidget( m_con ); | 186 | m_layCon->addWidget( m_con ); |
187 | 187 | ||
188 | tabWidget->addTab( m_tabCon, "", QObject::tr("Connection") ); | ||
189 | tabWidget->setCurrentTab( tabprof ); | 188 | tabWidget->setCurrentTab( tabprof ); |
190 | 189 | ||
191 | } | 190 | } |
192 | /* | 191 | /* |
193 | * we need to switch the widget | 192 | * we need to switch the widget |
194 | */ | 193 | */ |
195 | void ProfileEditorDialog::slotTermActivated( const QString& str ) { | 194 | void ProfileEditorDialog::slotTermActivated( const QString& str ) { |
196 | delete m_term; | 195 | delete m_term; |