Diffstat (limited to 'core/pim/osearch/searchgroup.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/searchgroup.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/osearch/searchgroup.cpp b/core/pim/osearch/searchgroup.cpp index 9166f72..2ca37cf 100644 --- a/core/pim/osearch/searchgroup.cpp +++ b/core/pim/osearch/searchgroup.cpp | |||
@@ -9,12 +9,13 @@ | |||
9 | // | 9 | // |
10 | // Copyright: See COPYING file that comes with this distribution | 10 | // Copyright: See COPYING file that comes with this distribution |
11 | // | 11 | // |
12 | // | 12 | // |
13 | #include "searchgroup.h" | 13 | #include "searchgroup.h" |
14 | 14 | ||
15 | #include <opie2/odebug.h> | ||
15 | #include <opie2/owait.h> | 16 | #include <opie2/owait.h> |
16 | 17 | ||
17 | #include <qapplication.h> | 18 | #include <qapplication.h> |
18 | 19 | ||
19 | #ifndef NEW_OWAIT | 20 | #ifndef NEW_OWAIT |
20 | static Opie::Ui::OWait *wait = 0; | 21 | static Opie::Ui::OWait *wait = 0; |
@@ -69,13 +70,13 @@ int SearchGroup::realSearch() | |||
69 | if (_lastSearch == _search) return _resultCount; | 70 | if (_lastSearch == _search) return _resultCount; |
70 | #ifndef NEW_OWAIT | 71 | #ifndef NEW_OWAIT |
71 | if (!wait) wait = new Opie::Ui::OWait( qApp->mainWidget(), "osearch" ); | 72 | if (!wait) wait = new Opie::Ui::OWait( qApp->mainWidget(), "osearch" ); |
72 | wait->show(); | 73 | wait->show(); |
73 | qApp->processEvents(); | 74 | qApp->processEvents(); |
74 | #else | 75 | #else |
75 | qDebug("********** NEW_OWAIT *************"); | 76 | Opie:Core::odebug << "********** NEW_OWAIT *************" << oendl; |
76 | OWait( "searching" ); | 77 | OWait( "searching" ); |
77 | #endif | 78 | #endif |
78 | if (!loaded) load(); | 79 | if (!loaded) load(); |
79 | _resultCount = 0; | 80 | _resultCount = 0; |
80 | _resultCount = search(); | 81 | _resultCount = search(); |
81 | _lastSearch = _search; | 82 | _lastSearch = _search; |