Diffstat (limited to 'core/pim/osearch/applnksearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/applnksearch.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/pim/osearch/applnksearch.cpp b/core/pim/osearch/applnksearch.cpp index d5b2930..acf650a 100644 --- a/core/pim/osearch/applnksearch.cpp +++ b/core/pim/osearch/applnksearch.cpp | |||
@@ -44,12 +44,20 @@ int AppLnkSearch::search() | |||
44 | || (_search.match(app->exec()) != -1) ) { | 44 | || (_search.match(app->exec()) != -1) ) { |
45 | count++; | 45 | count++; |
46 | insertItem( app ); | 46 | insertItem( app ); |
47 | } | 47 | } |
48 | } | 48 | } |
49 | return count; | 49 | return count; |
50 | } | 50 | } |
51 | 51 | ||
52 | void AppLnkSearch::insertItem( void *rec ) | 52 | void AppLnkSearch::insertItem( void *rec ) |
53 | { | 53 | { |
54 | new AppLnkItem( this, (AppLnk*)rec ); | 54 | new AppLnkItem( this, (AppLnk*)rec ); |
55 | } | 55 | } |
56 | |||
57 | void AppLnkSearch::setSearch(QRegExp re) | ||
58 | { | ||
59 | expanded = false; | ||
60 | setOpen( false ); | ||
61 | SearchGroup::setSearch( re ); | ||
62 | } | ||
63 | |||