Diffstat (limited to 'core/pim/osearch/applnksearch.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/osearch/applnksearch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/osearch/applnksearch.cpp b/core/pim/osearch/applnksearch.cpp index 403c719..b15275a 100644 --- a/core/pim/osearch/applnksearch.cpp +++ b/core/pim/osearch/applnksearch.cpp | |||
@@ -48,22 +48,22 @@ int AppLnkSearch::search() | |||
48 | || (_search.match(app->exec()) != -1) ) { | 48 | || (_search.match(app->exec()) != -1) ) { |
49 | insertItem( app ); | 49 | insertItem( app ); |
50 | }else | 50 | }else |
51 | if (searchFile( app )) | 51 | if (searchFile( app )) |
52 | insertItem( app ); | 52 | insertItem( app ); |
53 | qApp->processEvents( 100 ); | 53 | qApp->processEvents( 100 ); |
54 | } | 54 | } |
55 | return _resultCount; | 55 | return _resultCount; |
56 | } | 56 | } |
57 | 57 | ||
58 | void AppLnkSearch::insertItem( void *rec ) | 58 | void AppLnkSearch::insertItem( void *rec ) |
59 | { | 59 | { |
60 | new AppLnkItem( this, (AppLnk*)rec ); | 60 | (void)new AppLnkItem( this, (AppLnk*)rec ); |
61 | _resultCount++; | 61 | _resultCount++; |
62 | } | 62 | } |
63 | 63 | ||
64 | void AppLnkSearch::setSearch(QRegExp re) | 64 | void AppLnkSearch::setSearch(QRegExp re) |
65 | { | 65 | { |
66 | setOpen( false ); | 66 | setOpen( false ); |
67 | SearchGroup::setSearch( re ); | 67 | SearchGroup::setSearch( re ); |
68 | } | 68 | } |
69 | 69 | ||