summaryrefslogtreecommitdiffstats
path: root/akregator/src/nodelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/nodelist.cpp')
-rw-r--r--akregator/src/nodelist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/akregator/src/nodelist.cpp b/akregator/src/nodelist.cpp
index 6bcee5f6d..e79acb20d 100644
--- a/akregator/src/nodelist.cpp
+++ b/akregator/src/nodelist.cpp
@@ -165,9 +165,9 @@ void NodeList::clear()
{
Q_ASSERT(rootNode());
- TQValueList<TreeNode*> tqchildren = rootNode()->tqchildren();
+ TQValueList<TreeNode*> children = rootNode()->children();
- for (TQValueList<TreeNode*>::ConstIterator it = tqchildren.begin(); it != tqchildren.end(); ++it)
+ for (TQValueList<TreeNode*>::ConstIterator it = children.begin(); it != children.end(); ++it)
delete *it; // emits signal "emitSignalDestroyed"
}