Diffstat (limited to 'core/pim/osearch/applnksearch.cpp') (more/less context) (show 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 @@ -50,6 +50,14 @@ int AppLnkSearch::search() } void AppLnkSearch::insertItem( void *rec ) { new AppLnkItem( this, (AppLnk*)rec ); } + +void AppLnkSearch::setSearch(QRegExp re) +{ + expanded = false; + setOpen( false ); + SearchGroup::setSearch( re ); +} + |