summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/irdaconfigwidget.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/irdaconfigwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/irdaconfigwidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/irdaconfigwidget.cpp b/noncore/apps/opie-console/irdaconfigwidget.cpp
index 72e99a1..059530d 100644
--- a/noncore/apps/opie-console/irdaconfigwidget.cpp
+++ b/noncore/apps/opie-console/irdaconfigwidget.cpp
@@ -9,5 +9,5 @@ namespace {
9 void setCurrent( const QString& str, QComboBox* bo ) { 9 void setCurrent( const QString& str, QComboBox* bo ) {
10 uint b = bo->count(); 10 uint b = bo->count();
11 for (uint i = 0; i < bo->count(); i++ ) { 11 for (int i = 0; i < bo->count(); i++ ) {
12 if ( bo->text(i) == str ) { 12 if ( bo->text(i) == str ) {
13 bo->setCurrentItem( i ); 13 bo->setCurrentItem( i );
@@ -96,4 +96,5 @@ void IrdaConfigWidget::load( const Profile& prof ) {
96void IrdaConfigWidget::save( Profile& prof ) { 96void IrdaConfigWidget::save( Profile& prof ) {
97 int flow, parity, speed; 97 int flow, parity, speed;
98 flow = parity = speed = 0;
98 prof.writeEntry("Device", m_deviceCmb->currentText() ); 99 prof.writeEntry("Device", m_deviceCmb->currentText() );
99 100
@@ -136,4 +137,5 @@ void IrdaConfigWidget::save( Profile& prof ) {
136 speed = 19200; 137 speed = 19200;
137 break; 138 break;
139 default:
138 case IOLayerBase::Baud_9600: 140 case IOLayerBase::Baud_9600:
139 speed = 9600; 141 speed = 9600;