aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine.cpp
diff options
context:
space:
mode:
authorMorten Sørvig <morten.sorvig@qt.io>2024-01-09 00:26:30 +0100
committerMorten Sørvig <morten.sorvig@qt.io>2024-02-08 15:37:02 +0100
commit97330602cc167d542e9f3265bb110f99942eadaf (patch)
treebb420afd3887b5a0433207a409f7a97e5b02c642 /src/qml/jsruntime/qv4engine.cpp
parent6bed7c1e7598089b1b2e1a4cb2ef3efc893fb953 (diff)
no-thread: remove special cases for callbacks
We can use the common postMethodToMain() call here instead of postMethodToThread(), since the former function handles the case where the main thread is posting the callback to itself. This change should not introduce a behavior change: postMethodToThread() will call internalPostMethodToMain() in this case. Change-Id: If5f190d2f4fed124622030df096b78b9886e6212 Reviewed-by: Lorn Potter <lorn.potter@gmail.com> Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
0 files changed, 0 insertions, 0 deletions