summaryrefslogtreecommitdiffstats
path: root/khelpcenter/toc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khelpcenter/toc.cpp')
-rw-r--r--khelpcenter/toc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/khelpcenter/toc.cpp b/khelpcenter/toc.cpp
index 0f0e8af07..cdc7d92d9 100644
--- a/khelpcenter/toc.cpp
+++ b/khelpcenter/toc.cpp
@@ -261,8 +261,8 @@ TOCSectionItem::TOCSectionItem( TOC *toc, TOCChapterItem *parent, TQListViewItem
TQString TOCSectionItem::url()
{
- if ( static_cast<TOCSectionItem *>( tqparent()->firstChild() ) == this )
- return static_cast<TOCChapterItem *>( tqparent() )->url() + "#" + m_name;
+ if ( static_cast<TOCSectionItem *>( parent()->firstChild() ) == this )
+ return static_cast<TOCChapterItem *>( parent() )->url() + "#" + m_name;
return "help:" + toc()->application() + "/" + m_name + ".html";
}