Revert "Restore Qt 4.6 behaviour: exec() always enters the event loop."
authorOlivier Goffart <olivier.goffart@nokia.com>
Wed, 2 Feb 2011 08:27:53 +0000 (09:27 +0100)
committerOlivier Goffart <olivier.goffart@nokia.com>
Wed, 2 Feb 2011 08:50:39 +0000 (09:50 +0100)
commit9fa392cdb528db0bb5073892484c809e99ae27b3
treed28d351611fdd15142829fc51be6a02b35d43759
parent95b17fbe91eb3b1b0fcac92d8a8934769e4cd847
Revert "Restore Qt 4.6 behaviour: exec() always enters the event loop."

This reverts commit 2e72a8b19ea6c674fb4777860dac50faa5d387e6.

The behavour in Qt 4.6 was wrong.  And even if it was not documented,
it is too late to change the behaviour back at this point.

The tests for QEventLoop and QCoreApplication have not been reverted

Reviewed-by: Brad
src/corelib/thread/qthread.cpp
tests/auto/qthread/tst_qthread.cpp