diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-05-05 15:54:10 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-05 22:22:41 +0200 |
commit | 31091808814de383aeec453933d2b29ce4eefb6f (patch) | |
tree | 0e5bba075082036a08a64f5437347bb9b048efc7 /src/corelib/kernel/qcoreevent.h | |
parent | 9e2c4bc67f30eb1e8d776afe3a092d5994aaab38 (diff) |
Avoid showing warnings from drawPixmap when using a QGLWidget
QGLWidget has a paint device type of Widget, yet drawing on it
from outside the gui thread is fine as long as ThreadedOpenGL is
supported. It has probably been overlooked that the device type
OpenGL applies to QGLFramebufferObject and such but not QGLWidget.
This will fix the problem of flooding the output with warnings in
the tst_qglthreads autotest and potentially elsewhere too.
Task-number: QTBUG-38771
Change-Id: Ie014a2610a0db41b31c30c404e286d4997aecdc3
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/corelib/kernel/qcoreevent.h')
0 files changed, 0 insertions, 0 deletions