summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/serialconfigwidget.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/serialconfigwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/serialconfigwidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/serialconfigwidget.cpp b/noncore/apps/opie-console/serialconfigwidget.cpp
index 1e97a24..bd0312a 100644
--- a/noncore/apps/opie-console/serialconfigwidget.cpp
+++ b/noncore/apps/opie-console/serialconfigwidget.cpp
@@ -96,7 +96,8 @@ void SerialConfigWidget::load( const Profile& prof ) {
96 * parity 96 * parity
97 */ 97 */
98void SerialConfigWidget::save( Profile& prof ) { 98void SerialConfigWidget::save( Profile& prof ) {
99 int flow, parity, speed; 99 int flow, parity, speed ;
100 flow = parity = speed = 0;
100 prof.writeEntry("Device", m_deviceCmb->currentText() ); 101 prof.writeEntry("Device", m_deviceCmb->currentText() );
101 102
102 switch( m_base->flow() ) { 103 switch( m_base->flow() ) {
@@ -136,6 +137,7 @@ void SerialConfigWidget::save( Profile& prof ) {
136 case IOLayerBase::Baud_19200: 137 case IOLayerBase::Baud_19200:
137 speed = 19200; 138 speed = 19200;
138 break; 139 break;
140 default:
139 case IOLayerBase::Baud_9600: 141 case IOLayerBase::Baud_9600:
140 speed = 9600; 142 speed = 9600;
141 break; 143 break;