From 21d29dbf8a9c1a12c7c23f96b80307e87ffaa50a Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 21 Oct 2002 21:43:43 +0000 Subject: 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 --- (limited to 'noncore/apps/opie-console/serialconfigwidget.cpp') 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 ) { * parity */ void SerialConfigWidget::save( Profile& prof ) { - int flow, parity, speed; + int flow, parity, speed ; + flow = parity = speed = 0; prof.writeEntry("Device", m_deviceCmb->currentText() ); switch( m_base->flow() ) { @@ -136,6 +137,7 @@ void SerialConfigWidget::save( Profile& prof ) { case IOLayerBase::Baud_19200: speed = 19200; break; + default: case IOLayerBase::Baud_9600: speed = 9600; break; -- cgit v0.9.0.2