diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-04-23 09:29:12 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-04-23 10:10:59 (GMT) |
commit | 662f33a5b39f31579a2557a4d81469cfe30815c7 (patch) | |
tree | c56c2bcc9f4b1d28f30c76d44782bc4af4185c51 /src/dbus/qdbusmessage_p.h | |
parent | d11cf4b8795a0f39e76432aa805f098388579d2d (diff) | |
download | Qt-662f33a5b39f31579a2557a4d81469cfe30815c7.zip Qt-662f33a5b39f31579a2557a4d81469cfe30815c7.tar.gz Qt-662f33a5b39f31579a2557a4d81469cfe30815c7.tar.bz2 |
Allow QThread to start a QTimer and QEventLoop before QCoreApplication is constructed
Fix a regression from 4.3 to 4.4 that prevented QThread from starting
timers and event loops before QCoreApplication was instantiated. Even
though this is documented not to work, it seems that people have been
relying on it.
This reverts commit e52e5acdfa198cd079bbfe3a9302debf46c7cadd which
attempted to work around not calling g_thread_init() multiple
times. The proper fix is to serialize the g_thread_supported() checks
in the Glib event dispatcher.
Task-number: 248191
Reviewed-by: denis
Diffstat (limited to 'src/dbus/qdbusmessage_p.h')
0 files changed, 0 insertions, 0 deletions