diff options
| author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-08-06 12:29:00 +0200 |
|---|---|---|
| committer | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-08-07 09:03:37 +0200 |
| commit | e79f008ae5f8829fab6ec8ffa09850e38b5a700f (patch) | |
| tree | 982937d5b49c3c191913fc5077ec938efef285cb /examples/opengl/qopenglwindow | |
| parent | 1b1dd22486155c21fc0d10bb07b7bbb4324c2bf9 (diff) | |
Avoid crashing in QOpenGLWidget::metrics
When creating child widgets in the derived class' constructor, the screen
cannot be retrieved via window() since it still returns null. Handle this
case properly.
Change-Id: I65bf7f9c338ce8a3ddab8ad7886cfe2f1f253c82
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'examples/opengl/qopenglwindow')
0 files changed, 0 insertions, 0 deletions
