author | drw <drw> | 2005-02-07 20:38:20 (UTC) |
---|---|---|
committer | drw <drw> | 2005-02-07 20:38:20 (UTC) |
commit | 9f7017a1a571991763ed53066b64988cefdff07b (patch) (unidiff) | |
tree | 54028bb0ab76c4dfd7cec67474d98cb1a08912ce | |
parent | e56c7dfec502972fc7efcd9e0357c371d0e9cd15 (diff) | |
download | opie-9f7017a1a571991763ed53066b64988cefdff07b.zip opie-9f7017a1a571991763ed53066b64988cefdff07b.tar.gz opie-9f7017a1a571991763ed53066b64988cefdff07b.tar.bz2 |
Eliminate compiler warnings
-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 | |||
@@ -65,13 +65,13 @@ Opie::OPimContact AbLabel::currentEntry() | |||
65 | } | 65 | } |
66 | 66 | ||
67 | 67 | ||
68 | bool AbLabel::selectContact( int UID ) | 68 | bool AbLabel::selectContact( int UID ) |
69 | { | 69 | { |
70 | 70 | ||
71 | for ( int r = 0; r < m_viewList.count(); ++r ) { | 71 | for ( uint r = 0; r < m_viewList.count(); ++r ) { |
72 | if ( m_viewList.uidAt( r ) == UID ){ | 72 | if ( m_viewList.uidAt( r ) == UID ){ |
73 | m_itCurContact.setCurrent( r ); | 73 | m_itCurContact.setCurrent( r ); |
74 | break; | 74 | break; |
75 | } | 75 | } |
76 | } | 76 | } |
77 | 77 | ||
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 | |||
@@ -182,13 +182,12 @@ void AbTable::setOrderedList( const QValueList<int> ordered ) | |||
182 | 182 | ||
183 | 183 | ||
184 | bool AbTable::selectContact( int UID ) | 184 | bool AbTable::selectContact( int UID ) |
185 | { | 185 | { |
186 | odebug << "AbTable::selectContact( " << UID << " )" << oendl; | 186 | odebug << "AbTable::selectContact( " << UID << " )" << oendl; |
187 | int rows = numRows(); | 187 | int rows = numRows(); |
188 | Opie::OPimContact* foundContact = 0l; | ||
189 | bool found = false; | 188 | bool found = false; |
190 | 189 | ||
191 | setPaintingEnabled( FALSE ); | 190 | setPaintingEnabled( FALSE ); |
192 | odebug << "Search start" << oendl; | 191 | odebug << "Search start" << oendl; |
193 | for ( int r = 0; r < rows; ++r ) { | 192 | for ( int r = 0; r < rows; ++r ) { |
194 | if ( m_viewList.uidAt( r ) == UID ){ | 193 | if ( m_viewList.uidAt( r ) == UID ){ |
@@ -352,13 +351,13 @@ void AbTable::keyPressEvent( QKeyEvent *e ) | |||
352 | default: | 351 | default: |
353 | QTable::keyPressEvent( e ); | 352 | QTable::keyPressEvent( e ); |
354 | } | 353 | } |
355 | 354 | ||
356 | } | 355 | } |
357 | 356 | ||
358 | void AbTable::moveTo( char c ) | 357 | void AbTable::moveTo( char /*c*/ ) |
359 | { | 358 | { |
360 | odebug << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl; | 359 | odebug << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl; |
361 | 360 | ||
362 | #if 0 | 361 | #if 0 |
363 | int rows = numRows(); | 362 | int rows = numRows(); |
364 | QString value; | 363 | QString value; |