Allow debug plugin registrations from other threads than main GUI
authorUlf Hermann <ulf.hermann@digia.com>
Wed, 29 Jan 2014 16:30:14 +0000 (17:30 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 29 Jan 2014 17:30:34 +0000 (18:30 +0100)
commit13683d4ebc16f9cf22c0c2c67ee2f0acfc8c8fbc
tree5a81423ee444abc574fd0e3aa95f66bb129940d6
parent0c7ef1b350dd826334370a70e1d3b6b47e08a731
Allow debug plugin registrations from other threads than main GUI

There's no real reason to disallow that. The only thing we want to check
there is that the registration doesn't take place in the debugger
thread. Disallowing registrations from anywhere but the main GUI thread
creates unnecessary problems with threaded QML profiling and debugging.

Change-Id: Ic72d19237e2ddba02cc88f7f5a0743f6640fed4d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/debugger/qqmldebugserver.cpp