summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/modemconfigwidget.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/modemconfigwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/modemconfigwidget.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/modemconfigwidget.cpp b/noncore/apps/opie-console/modemconfigwidget.cpp
index ac62e45..0f0ce7c 100644
--- a/noncore/apps/opie-console/modemconfigwidget.cpp
+++ b/noncore/apps/opie-console/modemconfigwidget.cpp
@@ -85,6 +85,9 @@ void ModemConfigWidget::load( const Profile& prof ) {
85 85
86
86 if ( rad_parity == 1 ) { 87 if ( rad_parity == 1 ) {
87 m_base->setParity( IOLayerBase::Even ); 88 m_base->setParity( IOLayerBase::Even );
88 } else { 89 } else if ( rad_parity == 2 ){
89 m_base->setParity( IOLayerBase::Odd ); 90 m_base->setParity( IOLayerBase::Odd );
91 } else {
92 m_base->setParity( IOLayerBase::NonePar );
90 } 93 }
@@ -147,2 +150,5 @@ void ModemConfigWidget::save( Profile& prof ) {
147 break; 150 break;
151 case IOLayerBase::NonePar:
152 parity = 0;
153 break;
148 } 154 }