diff options
Diffstat (limited to 'akregator/src/treenode.cpp')
-rw-r--r-- | akregator/src/treenode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/akregator/src/treenode.cpp b/akregator/src/treenode.cpp index 58e4ae8ea..27ee2ecae 100644 --- a/akregator/src/treenode.cpp +++ b/akregator/src/treenode.cpp @@ -96,7 +96,7 @@ TreeNode* TreeNode::nextSibling() const TQValueList<TreeNode*> tqchildren = d->tqparent->tqchildren(); TreeNode* me = (TreeNode*)this; - int idx = tqchildren.findIndex(me); + int idx = tqchildren.tqfindIndex(me); return idx+1 < tqchildren.size() ? *(tqchildren.at(idx+1)) : 0L; } @@ -108,7 +108,7 @@ TreeNode* TreeNode::prevSibling() const TQValueList<TreeNode*> tqchildren = d->tqparent->tqchildren(); TreeNode* me = (TreeNode*)this; - int idx = tqchildren.findIndex(me); + int idx = tqchildren.tqfindIndex(me); return idx > 0 ? *(d->tqparent->tqchildren().at(idx-1)) : 0L; } |