diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2013-09-09 03:53:35 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-09 10:40:37 +0200 |
commit | 65343d4c9744f648dc0de41124c5c5083dae0551 (patch) | |
tree | 0199621dede0792e696ce8a7e7772f1adebd3eb4 /src/corelib | |
parent | e5ee6c00946d3a13502e460b7ca8354aa35586a9 (diff) |
Fix QPainter usage in non-GUI thread warning appearing in debug
The third parameter is `extraCondition`, which is false by default,
and it is used in condition
`if (!extraCondition && QThread::currentThread() != qApp->thread()) {`.
Passing extraCondition=true makes this condition always evaluate to false
and thus hides a respective warning at all.
Change-Id: Ia8ef48f341bd22f58375034d1992da716f78121d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions