diff options
author | Michael Brasser <michael.brasser@live.com> | 2016-02-03 22:23:10 -0600 |
---|---|---|
committer | Michael Brasser <michael.brasser@live.com> | 2016-03-08 16:45:39 +0000 |
commit | 6cc908e25b9ecdd364cd008a59429273c39844a2 (patch) | |
tree | c9ef73d7b979cfa4b3e7a7f8337462e15ace0d89 /src/qml/qml/qml.pri | |
parent | 19f91830d1d18d9a83e5fab9cccf22d69ecffc24 (diff) |
Add Qt.callLater() function.
Calling the new Qt.callLater() multiple times in quick succession with the same
JS function as argument will result in a single call to that function, thus
eliminating redundant unnecessary calls.
Based on previous patches by Mathias Malmqvist <mathias.malmqvist@nokia.com>
and Chris Adams <chris.adams@jollamobile.com>
Change-Id: Ie71b60d4d48fa73d3deae723775cf36662d199ae
Task-number: QTBUG-22400
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qml.pri')
-rw-r--r-- | src/qml/qml/qml.pri | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qml/qml/qml.pri b/src/qml/qml/qml.pri index 4d84cc82ae..91d883c29f 100644 --- a/src/qml/qml/qml.pri +++ b/src/qml/qml/qml.pri @@ -50,7 +50,8 @@ SOURCES += \ $$PWD/qqmltypewrapper.cpp \ $$PWD/qqmlfileselector.cpp \ $$PWD/qqmlobjectcreator.cpp \ - $$PWD/qqmldirparser.cpp + $$PWD/qqmldirparser.cpp \ + $$PWD/qqmldelayedcallqueue.cpp HEADERS += \ $$PWD/qqmlglobal_p.h \ @@ -122,7 +123,8 @@ HEADERS += \ $$PWD/qqmlfileselector_p.h \ $$PWD/qqmlfileselector.h \ $$PWD/qqmlobjectcreator_p.h \ - $$PWD/qqmldirparser_p.h + $$PWD/qqmldirparser_p.h \ + $$PWD/qqmldelayedcallqueue_p.h include(ftw/ftw.pri) include(v8/v8.pri) |