From cdf3ec6993eebb80c96258c1bb217594ea442544 Mon Sep 17 00:00:00 2001 From: tille Date: Sat, 17 May 2003 10:38:52 +0000 Subject: (layout) fixes from zecke (for 0.99) and some minor things... --- (limited to 'core/pim/osearch/adresssearch.cpp') diff --git a/core/pim/osearch/adresssearch.cpp b/core/pim/osearch/adresssearch.cpp index 2cd545f..f117fe6 100644 --- a/core/pim/osearch/adresssearch.cpp +++ b/core/pim/osearch/adresssearch.cpp @@ -14,7 +14,7 @@ #include #include -#include +//#include #include #include @@ -26,6 +26,7 @@ AdressSearch::AdressSearch(QListView* parent, QString name): _contacts = 0; QIconSet is = Resource::loadIconSet( "addressbook/AddressBook" ); setPixmap( 0, is.pixmap( QIconSet::Small, true ) ); +// QWhatsThis::add( this, QObject::tr("Search the addressbook") ); /* QPixmap pix = Resource::loadPixmap( "addressbook/AddressBook" ); QImage img = pix.convertToImage(); img.smoothScale( 14, 14 ); @@ -48,7 +49,7 @@ int AdressSearch::search() { ORecordList results = _contacts->matchRegexp(_search); for (uint i = 0; i < results.count(); i++) { - new ContactItem( this, new OContact( results[i] )); + (void)new ContactItem( this, new OContact( results[i] )); } return results.count(); } -- cgit v0.9.0.2