aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v8
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@theqtcompany.com>2016-06-01 12:12:15 +0200
committerTopi Reiniƶ <topi.reinio@theqtcompany.com>2016-06-23 11:47:55 +0000
commit69e04aa5e1a7627c5cbe4f5613fc6b2cc9f7bcea (patch)
tree59e2a4c6803226f6d12b865d39975156ba084048 /src/qml/qml/v8
parent8188c652c192c958217546e4dc155a7c33c17a9f (diff)
Doc: QML Qt.callLater(): Fix documentation warnings
qqmlbuiltinfunctions.cpp:2014: warning: Cannot find file to quote from: 'doc/src/snippets/qml/qtLater.qml' qqmlbuiltinfunctions.cpp:2001: warning: Can't link to 'QML:Qt::callLater()' Change-Id: I003494dba9aa6401825f8ec1b9adb6b99d7c45ff Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'src/qml/qml/v8')
-rw-r--r--src/qml/qml/v8/qqmlbuiltinfunctions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp
index a0dff482b1..76a900c846 100644
--- a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp
+++ b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp
@@ -2003,16 +2003,16 @@ ReturnedValue GlobalExtensions::method_string_arg(CallContext *ctx)
\since 5.8
Use this function to eliminate redundant calls to a function or signal.
-The function passed as the first argument to \l{QML:Qt::callLater()}{Qt.callLater()}
+The function passed as the first argument to Qt.callLater()
will be called later, once the QML engine returns to the event loop.
When this function is called multiple times in quick succession with the
same function as its first argument, that function will be called only once.
For example:
-\snippet doc/src/snippets/qml/qtLater.qml 0
+\snippet qml/qtLater.qml 0
-Any additional arguments passed to \l{QML:Qt::callLater()}{Qt.callLater()} will
+Any additional arguments passed to Qt.callLater() will
be passed on to the function invoked. Note that if redundant calls
are eliminated, then only the last set of arguments will be passed to the
function.