-rw-r--r-- | core/pim/addressbook/ablabel.cpp | 2 | ||||
-rw-r--r-- | core/pim/addressbook/abtable.cpp | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/core/pim/addressbook/ablabel.cpp b/core/pim/addressbook/ablabel.cpp index 6b8e4dd..139030d 100644 --- a/core/pim/addressbook/ablabel.cpp +++ b/core/pim/addressbook/ablabel.cpp @@ -63,17 +63,17 @@ Opie::OPimContact AbLabel::currentEntry() else return Opie::OPimContact(); } bool AbLabel::selectContact( int UID ) { - for ( int r = 0; r < m_viewList.count(); ++r ) { + for ( uint r = 0; r < m_viewList.count(); ++r ) { if ( m_viewList.uidAt( r ) == UID ){ m_itCurContact.setCurrent( r ); break; } } sync(); diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp index 30d749c..0be7d1a 100644 --- a/core/pim/addressbook/abtable.cpp +++ b/core/pim/addressbook/abtable.cpp @@ -180,17 +180,16 @@ void AbTable::setOrderedList( const QValueList<int> ordered ) intFields = ordered; } bool AbTable::selectContact( int UID ) { odebug << "AbTable::selectContact( " << UID << " )" << oendl; int rows = numRows(); - Opie::OPimContact* foundContact = 0l; bool found = false; setPaintingEnabled( FALSE ); odebug << "Search start" << oendl; for ( int r = 0; r < rows; ++r ) { if ( m_viewList.uidAt( r ) == UID ){ ensureCellVisible( r, 0 ); setCurrentCell( r, 0 ); @@ -350,17 +349,17 @@ void AbTable::keyPressEvent( QKeyEvent *e ) // emit signalKeyDown(); // break; default: QTable::keyPressEvent( e ); } } -void AbTable::moveTo( char c ) +void AbTable::moveTo( char /*c*/ ) { odebug << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl; #if 0 int rows = numRows(); QString value; AbTableItem *abi; int r; |