summaryrefslogtreecommitdiffstats
path: root/karm/plannerparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'karm/plannerparser.cpp')
-rw-r--r--karm/plannerparser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/karm/plannerparser.cpp b/karm/plannerparser.cpp
index b205fd7af..7ac13a5e3 100644
--- a/karm/plannerparser.cpp
+++ b/karm/plannerparser.cpp
@@ -35,9 +35,9 @@ test cases:
kdDebug() << "entering constructor to import planner tasks" << endl;
_taskView=tv;
level=0;
- if (_taskView->current_item()) if (_taskView->current_item()->tqparent())
+ if (_taskView->current_item()) if (_taskView->current_item()->parent())
{
- task = _taskView->current_item()->tqparent();
+ task = _taskView->current_item()->parent();
level=1;
}
}
@@ -92,7 +92,7 @@ test cases:
// only <task>s within <tasks> increased level, so only decrease for <task>s within <tasks>
if (withInTasks)
{
- if (qName=="task") if (level-->=0) task=task->tqparent();
+ if (qName=="task") if (level-->=0) task=task->parent();
if (qName=="tasks") withInTasks=false;
}
return true;