summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profileeditordialog.cpp8
-rw-r--r--noncore/apps/opie-console/profileeditordialog.h2
-rw-r--r--noncore/apps/opie-console/serialconfigwidget.cpp2
3 files changed, 7 insertions, 5 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.cpp b/noncore/apps/opie-console/profileeditordialog.cpp
index b709cf3..5c5c2b3 100644
--- a/noncore/apps/opie-console/profileeditordialog.cpp
+++ b/noncore/apps/opie-console/profileeditordialog.cpp
@@ -8,4 +8,2 @@
8 8
9#include <opie/otabwidget.h>
10
11#include "profileeditorplugins.h" 9#include "profileeditorplugins.h"
@@ -59,3 +57,3 @@ void ProfileEditorDialog::initUI()
59 QVBoxLayout *mainLayout = new QVBoxLayout( this ); 57 QVBoxLayout *mainLayout = new QVBoxLayout( this );
60 OTabWidget *tabWidget = new OTabWidget( this ); 58 tabWidget = new OTabWidget( this );
61 tabWidget->setTabStyle(OTabWidget::TextTab); 59 tabWidget->setTabStyle(OTabWidget::TextTab);
@@ -175,5 +173,7 @@ void ProfileEditorDialog::slotConActivated( const QString& str ) {
175 173
176 if (m_con ) { 174 if ( m_con ) {
177 m_con->load( m_prof ); 175 m_con->load( m_prof );
178 m_layCon->addWidget( m_con ); 176 m_layCon->addWidget( m_con );
177 } else {
178 tabWidget->removePage( m_tabCon );
179 } 179 }
diff --git a/noncore/apps/opie-console/profileeditordialog.h b/noncore/apps/opie-console/profileeditordialog.h
index 3b67bb3..6fde839 100644
--- a/noncore/apps/opie-console/profileeditordialog.h
+++ b/noncore/apps/opie-console/profileeditordialog.h
@@ -4,2 +4,3 @@
4#include <qdialog.h> 4#include <qdialog.h>
5#include <opie/otabwidget.h>
5 6
@@ -48,2 +49,3 @@ private:
48 QHBoxLayout *m_layCon, *m_layTerm; 49 QHBoxLayout *m_layCon, *m_layTerm;
50 OTabWidget *tabWidget;
49}; 51};
diff --git a/noncore/apps/opie-console/serialconfigwidget.cpp b/noncore/apps/opie-console/serialconfigwidget.cpp
index d216c92..1e97a24 100644
--- a/noncore/apps/opie-console/serialconfigwidget.cpp
+++ b/noncore/apps/opie-console/serialconfigwidget.cpp
@@ -58,3 +58,3 @@ void SerialConfigWidget::load( const Profile& prof ) {
58 } else { 58 } else {
59 m_base->setFlow( IOLayerBase::None ); 59 m_base->setFlow( IOLayerBase::None );
60 } 60 }