summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-11-25 16:36:57 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-11-25 16:36:57 (GMT)
commit74fd34b43e2954881767e33fd62fe5b922643f88 (patch)
tree006449ece296c361b5eb900f3b4fd9e3b88d01fa /tools
parent25762d8825d5085287c3266f29a67046b99ff38a (diff)
downloadQt-74fd34b43e2954881767e33fd62fe5b922643f88.zip
Qt-74fd34b43e2954881767e33fd62fe5b922643f88.tar.gz
Qt-74fd34b43e2954881767e33fd62fe5b922643f88.tar.bz2
Added a check for read-only pure QML properties before C++ checks.
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/node.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qdoc3/node.cpp b/tools/qdoc3/node.cpp
index e043f5d..3e8230c 100644
--- a/tools/qdoc3/node.cpp
+++ b/tools/qdoc3/node.cpp
@@ -1680,6 +1680,9 @@ static QString valueType(const QString& n)
*/
bool QmlPropertyNode::isWritable(const Tree* tree) const
{
+ if (wri != Trool_Default)
+ return fromTrool(wri, false);
+
Node* n = parent();
while (n && n->subType() != Node::QmlClass)
n = n->parent();