diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-07-08 14:33:03 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-07-08 15:55:34 +0200 |
| commit | 94a36e5b247081602f74590def7a54c4d9fc7ea8 (patch) | |
| tree | 5b361a5f58461b31f0d6ae5d892c17c88db3c504 /sources/pyside6/doc/tutorials/qmlsqlintegration/sqlDialog.py | |
| parent | 7e45fec9047364cb003e38562edf81ffc18eea1d (diff) | |
Fix assert when retrieving wrapper from different thread
Check if the thread matches before calling QObject::setProperty(),
fixing:
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects
owned by a different thread. Current thread 0x0x1e2bd40. Receiver ''
(of type 'QDBusConnectionInterface') was created in thread 0x0x7f54b3ce16e0",
file qtbase/src/corelib/kernel/qcoreapplication.cpp, line 554
Task-number: PYSIDE-1570
Change-Id: Ib10984a03606bf2cf4dddb0dbd9dfaed3e4d09fe
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/doc/tutorials/qmlsqlintegration/sqlDialog.py')
0 files changed, 0 insertions, 0 deletions
