summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/doclnksearch.cpp4
-rw-r--r--core/pim/osearch/searchgroup.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/core/pim/osearch/doclnksearch.cpp b/core/pim/osearch/doclnksearch.cpp
index ef0e482..26097a4 100644
--- a/core/pim/osearch/doclnksearch.cpp
+++ b/core/pim/osearch/doclnksearch.cpp
@@ -88,6 +88,8 @@ QPopupMenu* DocLnkSearch::popupMenu()
actionSearchInFiles->addTo( _popupMenu );
}
return _popupMenu;
- (void) new DocLnkItem( this, (DocLnk*)rec );
+// (void) new DocLnkItem( this, (DocLnk*)rec );
+ // rec is undeclared here
+#warning FIXME
_resultCount++;
}
diff --git a/core/pim/osearch/searchgroup.h b/core/pim/osearch/searchgroup.h
index 23aa82a..48097ab 100644
--- a/core/pim/osearch/searchgroup.h
+++ b/core/pim/osearch/searchgroup.h
@@ -27,6 +27,7 @@ public:
SearchGroup(QListView* parent, QString name);
~SearchGroup();
+ int _resultCount;
virtual void expand();
virtual void doSearch();
@@ -43,7 +44,6 @@ protected:
private:
int realSearch();
bool loaded :1;
- int _resultCount;
};
#endif