aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmljs/qmljsinterpreter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/qmljs/qmljsinterpreter.cpp')
-rw-r--r--src/libs/qmljs/qmljsinterpreter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/qmljs/qmljsinterpreter.cpp b/src/libs/qmljs/qmljsinterpreter.cpp
index c74d5c4086..ddecffd2f1 100644
--- a/src/libs/qmljs/qmljsinterpreter.cpp
+++ b/src/libs/qmljs/qmljsinterpreter.cpp
@@ -369,9 +369,10 @@ const CppComponentValue *CppComponentValue::prototype() const
}
/*!
- \returns a list started by this object and followed by all its prototypes
+ Returns a list started by this object and followed by all its prototypes.
- Prefer to use this over calling prototype() in a loop, as it avoids cycles.
+ Use this function rather than calling prototype() in a loop, as it avoids
+ cycles.
*/
QList<const CppComponentValue *> CppComponentValue::prototypes() const
{