Diffstat (limited to 'core/pim/osearch/applnksearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/applnksearch.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/pim/osearch/applnksearch.cpp b/core/pim/osearch/applnksearch.cpp index acf650a..d5b181b 100644 --- a/core/pim/osearch/applnksearch.cpp +++ b/core/pim/osearch/applnksearch.cpp | |||
@@ -15,4 +15,6 @@ | |||
15 | #include <qpe/applnk.h> | 15 | #include <qpe/applnk.h> |
16 | #include <qpe/qpeapplication.h> | 16 | #include <qpe/qpeapplication.h> |
17 | #include <qiconset.h> | ||
18 | #include <qpe/resource.h> | ||
17 | 19 | ||
18 | #include "applnkitem.h" | 20 | #include "applnkitem.h" |
@@ -21,4 +23,7 @@ AppLnkSearch::AppLnkSearch(QListView* parent, QString name): SearchGroup(parent, | |||
21 | { | 23 | { |
22 | _apps = 0; | 24 | _apps = 0; |
25 | QIconSet is = Resource::loadIconSet( "osearch/applications" ); | ||
26 | //QIconSet is = Resource::loadIconSet( "AppsIcon" ); | ||
27 | setPixmap( 0, is.pixmap( QIconSet::Small, true ) ); | ||
23 | } | 28 | } |
24 | 29 | ||
@@ -46,4 +51,5 @@ int AppLnkSearch::search() | |||
46 | insertItem( app ); | 51 | insertItem( app ); |
47 | } | 52 | } |
53 | qApp->processEvents( 100 ); | ||
48 | } | 54 | } |
49 | return count; | 55 | return count; |
@@ -57,5 +63,4 @@ void AppLnkSearch::insertItem( void *rec ) | |||
57 | void AppLnkSearch::setSearch(QRegExp re) | 63 | void AppLnkSearch::setSearch(QRegExp re) |
58 | { | 64 | { |
59 | expanded = false; | ||
60 | setOpen( false ); | 65 | setOpen( false ); |
61 | SearchGroup::setSearch( re ); | 66 | SearchGroup::setSearch( re ); |