From 69e04aa5e1a7627c5cbe4f5613fc6b2cc9f7bcea Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Wed, 1 Jun 2016 12:12:15 +0200 Subject: 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 --- src/qml/qml/v8/qqmlbuiltinfunctions.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/qml/qml/v8') 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. -- cgit v1.2.3