From 49615014f281a58bd9bde5543692ffddab052755 Mon Sep 17 00:00:00 2001 From: harlekin Date: Mon, 01 Mar 2004 16:38:12 +0000 Subject: osearch libopie1->libopie2 --- (limited to 'core/pim/osearch/applnksearch.cpp') diff --git a/core/pim/osearch/applnksearch.cpp b/core/pim/osearch/applnksearch.cpp index e8170c5..1c84d66 100644 --- a/core/pim/osearch/applnksearch.cpp +++ b/core/pim/osearch/applnksearch.cpp @@ -11,14 +11,13 @@ // // #include "applnksearch.h" +#include "applnkitem.h" #include #include -#include #include -#include "applnkitem.h" - +#include AppLnkSearch::AppLnkSearch(QListView* parent, QString name): SearchGroup(parent, name) { @@ -43,16 +42,16 @@ void AppLnkSearch::load() int AppLnkSearch::search() { QList appList = _apps->children(); - + for ( AppLnk *app = appList.first(); app != 0; app = appList.next() ){ if ( (_search.match( app->name() ) != -1) || (_search.match(app->comment()) != -1) - || (_search.match(app->exec()) != -1) ) { + || (_search.match(app->exec()) != -1) ) { insertItem( app ); }else if (searchFile( app )) - insertItem( app ); - qApp->processEvents( 100 ); + insertItem( app ); + qApp->processEvents( 100 ); } return _resultCount; } -- cgit v0.9.0.2