diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-07-19 22:04:28 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-08-26 23:13:47 +0900 |
commit | 8eefba828fef6908ef67d610e9fbbb4abb28d3ba (patch) | |
tree | c8887269085094c5f9ae56dec797da1001f06003 /src/kernel/qfocusdata.cpp | |
parent | d1fd5b9b238e16c1ee25f9dbb00a6a964d4061b9 (diff) | |
download | qt3-8eefba828fef6908ef67d610e9fbbb4abb28d3ba.tar.gz qt3-8eefba828fef6908ef67d610e9fbbb4abb28d3ba.zip |
Added safety harness for currentThreadObject() usage.
currentThreadObject() returns a null pointer if the
current thread was not started using the QThread API.
This relates to bug 1748.
(cherry picked from commit dad70b4c5201ece044ecb663bb91b48ba8bd84a3)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/qfocusdata.cpp')
0 files changed, 0 insertions, 0 deletions