author | zecke <zecke> | 2002-10-21 21:43:43 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-21 21:43:43 (UTC) |
commit | 21d29dbf8a9c1a12c7c23f96b80307e87ffaa50a (patch) (unidiff) | |
tree | 98586789ecce5eea1f1d3eb1e5a2184412f90a06 /noncore/apps/opie-console/serialconfigwidget.cpp | |
parent | e2f94235dae5ec84a5e888e4114ce0bdd91db7e7 (diff) | |
download | opie-21d29dbf8a9c1a12c7c23f96b80307e87ffaa50a.zip opie-21d29dbf8a9c1a12c7c23f96b80307e87ffaa50a.tar.gz opie-21d29dbf8a9c1a12c7c23f96b80307e87ffaa50a.tar.bz2 |
add a quirk mode into main. if you -DFSCKED_DISTRIBUTION
opie-console will take care of some magic...
Add a No Configuration Widget instead of a big fat gray thing
above my beloved OTabWidget
Fix some compiler warning
Diffstat (limited to 'noncore/apps/opie-console/serialconfigwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/serialconfigwidget.cpp | 4 |
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 | */ |
98 | void SerialConfigWidget::save( Profile& prof ) { | 98 | void 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; |