summaryrefslogtreecommitdiffstats
path: root/src/script
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2010-09-02 06:33:35 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-09-02 06:33:35 (GMT)
commit8e664b347118e2cf80fff542f5e0f9946e0b76b9 (patch)
treec468f0195d6ee2e36ec77e88a281208a9c8e62e6 /src/script
parentbcb164e6f87192af849eec6f89a870d98d67767b (diff)
downloadQt-8e664b347118e2cf80fff542f5e0f9946e0b76b9.zip
Qt-8e664b347118e2cf80fff542f5e0f9946e0b76b9.tar.gz
Qt-8e664b347118e2cf80fff542f5e0f9946e0b76b9.tar.bz2
Correcting spelling mistakes in documentation. Part of fix for QTBUG-11938.
Reviewer: David Boddie Task number: QTBUG-11938 (cherry picked from commit eea84818e98af917d3cf2bf04ea17a416ef9d55e) Conflicts: src/script/api/qscriptcontext.cpp
Diffstat (limited to 'src/script')
-rw-r--r--src/script/api/qscriptcontext.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/api/qscriptcontext.cpp b/src/script/api/qscriptcontext.cpp
index 3f08e74..353e53f 100644
--- a/src/script/api/qscriptcontext.cpp
+++ b/src/script/api/qscriptcontext.cpp
@@ -323,6 +323,9 @@ QScriptValue QScriptContext::argumentsObject() const
When a function is called as constructor, the thisObject()
contains the newly constructed object to be initialized.
+
+ \note This function is only guaranteed to work for a context
+ corresponding to native functions.
*/
bool QScriptContext::isCalledAsConstructor() const
{