diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2014-11-21 10:34:22 +0400 |
---|---|---|
committer | Konstantin Ritt <ritt.ks@gmail.com> | 2014-12-13 01:29:32 +0100 |
commit | 384388f2cd739fd1416e4016588c79fd9788e898 (patch) | |
tree | f05e0b3436ff129e18e300e54367dc3c1f2251eb /src/gui/opengl/qopenglpaintengine.cpp | |
parent | 37490d465b203ac109f422b482eda9704f4e8593 (diff) |
Make QRawFont usage safer in a multi-threaded environment
QFontEngine must be accessed amd deleted only in a thread in which
it was instantiated, so we remember that thread and check if it
hasn't been changed every time we access the engine.
Change-Id: I28bc0394ced9cbd437dc950d35ffcbd99cfa7152
Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui/opengl/qopenglpaintengine.cpp')
0 files changed, 0 insertions, 0 deletions