summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/tree.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-08-17 12:28:45 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-08-17 12:30:02 (GMT)
commit1ca6a2f3174fdfbbe080af920ab75558a1a9247e (patch)
tree706c3a4beb1b3a13be73ee3e28c40226ef150b29 /tools/qdoc3/tree.cpp
parent38f41726cf3a76a57ca15f7cc82e56a5aa2c5a1c (diff)
downloadQt-1ca6a2f3174fdfbbe080af920ab75558a1a9247e.zip
Qt-1ca6a2f3174fdfbbe080af920ab75558a1a9247e.tar.gz
Qt-1ca6a2f3174fdfbbe080af920ab75558a1a9247e.tar.bz2
qdoc: Fixed the bug that made reporting NOTIFY signals not work.
The signal was being associated with a particular property, but in many classes, the NOTIFY signal applies to multiple properties. Added a new function to the PropertyNode class that adds the signal function without associating it with any property. Task-number: 259071
Diffstat (limited to 'tools/qdoc3/tree.cpp')
-rw-r--r--tools/qdoc3/tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qdoc3/tree.cpp b/tools/qdoc3/tree.cpp
index b42701f..7d488df 100644
--- a/tools/qdoc3/tree.cpp
+++ b/tools/qdoc3/tree.cpp
@@ -501,7 +501,7 @@ void Tree::resolveProperties()
} else if (function->name() == resetterName) {
property->addFunction(function, PropertyNode::Resetter);
} else if (function->name() == notifierName) {
- property->addFunction(function, PropertyNode::Notifier);
+ property->addSignal(function, PropertyNode::Notifier);
}
}
}