summaryrefslogtreecommitdiff
path: root/src/qml/compiler/qv4codegen.cpp
diff options
context:
space:
mode:
authorMichal Policht <michpolicht@gmail.com>2019-02-06 14:58:59 +0100
committerMichal Policht <michpolicht@gmail.com>2019-02-13 16:46:19 +0000
commit1e3ed172f35abaa0e0af43ee22259bc3cd188ad8 (patch)
treeac538d38b83874cb0647a263bae1f0e99b88fefc /src/qml/compiler/qv4codegen.cpp
parent01f9c623ed2dc1645ac022d69062f720e3b50132 (diff)
downloadqtdeclarative-1e3ed172f35abaa0e0af43ee22259bc3cd188ad8.tar.gz
Connect quit() and exit() signals with queued connections
Class QQmlApplicationEngine connects QQmlApplicationEngine::quit() signal to QCoreApplication::quit() and QQmlApplicationEngine::exit() signal to QCoreApplication::exit(), but it does so with AutoConnection. This causes in some circumstances problems, which are described in Qt documentation (see QCoreApplication::exit()). This change modifies type of connections to queued connections. [ChangeLog][QtQml][QQmlApplicationEngine] QQmlApplicationEngine connects quit() and exit() signals with queued connections to avoid problems with AutoConnection, when connecting to QCoreApplication slots. Task-number: QTBUG-73649 Change-Id: Ib27738b5af2f879efee8862b1ca01613a2e8dc4e Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
0 files changed, 0 insertions, 0 deletions