Diffstat (limited to 'noncore/apps/opie-console/serialconfigwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/serialconfigwidget.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/serialconfigwidget.cpp b/noncore/apps/opie-console/serialconfigwidget.cpp index b1ec408..89acc98 100644 --- a/noncore/apps/opie-console/serialconfigwidget.cpp +++ b/noncore/apps/opie-console/serialconfigwidget.cpp @@ -57,3 +57,3 @@ void SerialConfigWidget::load( const Profile& prof ) { m_base->setFlow( IOLayerBase::Software ); - } else if (rad_flow == 0) { + } else { m_base->setFlow( IOLayerBase::None ); @@ -61,6 +61,7 @@ void SerialConfigWidget::load( const Profile& prof ) { - if (rad_parity == 1) + if (rad_parity == 1) { m_base->setParity( IOLayerBase::Even ); - else + } else { m_base->setParity( IOLayerBase::Odd ); + } |