Diffstat (limited to 'core/pim/osearch/applnksearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/applnksearch.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/core/pim/osearch/applnksearch.cpp b/core/pim/osearch/applnksearch.cpp index b15275a..e8170c5 100644 --- a/core/pim/osearch/applnksearch.cpp +++ b/core/pim/osearch/applnksearch.cpp @@ -21,2 +21,3 @@ + AppLnkSearch::AppLnkSearch(QListView* parent, QString name): SearchGroup(parent, name) @@ -24,5 +25,5 @@ AppLnkSearch::AppLnkSearch(QListView* parent, QString name): SearchGroup(parent, _apps = 0; - QIconSet is = Resource::loadIconSet( "osearch/applications" ); + QIconSet is = Resource::loadIconSet( "osearch/applicationsSmall" ); //QIconSet is = Resource::loadIconSet( "AppsIcon" ); - setPixmap( 0, is.pixmap( QIconSet::Small, true ) ); + setPixmap( 0, is.pixmap( QIconSet::Large, true ) ); } @@ -44,2 +45,3 @@ int AppLnkSearch::search() QList<AppLnk> appList = _apps->children(); + for ( AppLnk *app = appList.first(); app != 0; app = appList.next() ){ @@ -47,3 +49,3 @@ int AppLnkSearch::search() || (_search.match(app->comment()) != -1) - || (_search.match(app->exec()) != -1) ) { + || (_search.match(app->exec()) != -1) ) { insertItem( app ); @@ -51,4 +53,4 @@ int AppLnkSearch::search() if (searchFile( app )) - insertItem( app ); - qApp->processEvents( 100 ); + insertItem( app ); + qApp->processEvents( 100 ); } |