diff options
Diffstat (limited to 'src/plugins/find/searchresulttreeitems.cpp')
-rw-r--r-- | src/plugins/find/searchresulttreeitems.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/find/searchresulttreeitems.cpp b/src/plugins/find/searchresulttreeitems.cpp index b5e9ac8b5a..f0db90fbc9 100644 --- a/src/plugins/find/searchresulttreeitems.cpp +++ b/src/plugins/find/searchresulttreeitems.cpp @@ -31,7 +31,7 @@ using namespace Find::Internal; -SearchResultTreeItem::SearchResultTreeItem(const Find::SearchResultItem &item, +SearchResultTreeItem::SearchResultTreeItem(const SearchResultItem &item, SearchResultTreeItem *parent) : item(item), m_parent(parent), @@ -115,7 +115,7 @@ int SearchResultTreeItem::insertionIndex(const QString &text, SearchResultTreeIt return insertionPosition - m_children.begin(); } -int SearchResultTreeItem::insertionIndex(const Find::SearchResultItem &item, SearchResultTreeItem **existingItem) const +int SearchResultTreeItem::insertionIndex(const SearchResultItem &item, SearchResultTreeItem **existingItem) const { return insertionIndex(item.text, existingItem); } @@ -125,7 +125,7 @@ void SearchResultTreeItem::insertChild(int index, SearchResultTreeItem *child) m_children.insert(index, child); } -void SearchResultTreeItem::insertChild(int index, const Find::SearchResultItem &item) +void SearchResultTreeItem::insertChild(int index, const SearchResultItem &item) { SearchResultTreeItem *child = new SearchResultTreeItem(item, this); if (isUserCheckable()) { @@ -135,7 +135,7 @@ void SearchResultTreeItem::insertChild(int index, const Find::SearchResultItem & insertChild(index, child); } -void SearchResultTreeItem::appendChild(const Find::SearchResultItem &item) +void SearchResultTreeItem::appendChild(const SearchResultItem &item) { insertChild(m_children.count(), item); } |