summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/cppcodemarker.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-02-26 08:44:33 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-02-26 08:44:33 (GMT)
commit540c19cd525fe0eb4fc70cfd625deeb77eb1b7cf (patch)
tree8ee7e6d700de3d911e8d0ccf4e2b2cd0a417fcde /tools/qdoc3/cppcodemarker.cpp
parent84fd26983a40ecae3e761106aa8f550c3b7fd7ba (diff)
parent7944ac1fb6eb0ae3bbbfdf6780b52f7174174a93 (diff)
downloadQt-540c19cd525fe0eb4fc70cfd625deeb77eb1b7cf.zip
Qt-540c19cd525fe0eb4fc70cfd625deeb77eb1b7cf.tar.gz
Qt-540c19cd525fe0eb4fc70cfd625deeb77eb1b7cf.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1
Diffstat (limited to 'tools/qdoc3/cppcodemarker.cpp')
-rw-r--r--tools/qdoc3/cppcodemarker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qdoc3/cppcodemarker.cpp b/tools/qdoc3/cppcodemarker.cpp
index 657cfbb..3ff6ebe 100644
--- a/tools/qdoc3/cppcodemarker.cpp
+++ b/tools/qdoc3/cppcodemarker.cpp
@@ -145,7 +145,7 @@ QString CppCodeMarker::plainFullName(const Node *node, const Node *relative)
}
else {
QString fullName;
- for (;;) {
+ while (node) {
fullName.prepend(plainName(node));
if (node->parent() == relative || node->parent()->name().isEmpty())
break;