From 151729eb3e4e4cfbb69db1f027e74188cf55c328 Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 21 Oct 2002 22:15:31 +0000 Subject: Fix the addPage bug... and avoid some compiler warnings. REMEMBER WARNINGS ARE BUGS --- (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 bd0312a..5c6d975 100644 --- a/noncore/apps/opie-console/serialconfigwidget.cpp +++ b/noncore/apps/opie-console/serialconfigwidget.cpp @@ -8,7 +8,7 @@ namespace { void setCurrent( const QString& str, QComboBox* bo ) { uint b = bo->count(); - for (uint i = 0; i < bo->count(); i++ ) { + for (int i = 0; i < bo->count(); i++ ) { if ( bo->text(i) == str ) { bo->setCurrentItem( i ); return; -- cgit v0.9.0.2