summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidget_p.h
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@digia.com>2013-09-17 10:36:57 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-20 12:04:08 +0200
commit61e0534aff440809f3388245f36e482c22912832 (patch)
treef8903ae1e20f5ac3582013833dd4199b5b202bd1 /src/widgets/kernel/qwidget_p.h
parent85708e7377e819649fd17948a77e8a3d6077a4e8 (diff)
Fix QGLWidget segfault on Android
...and other platforms that do not support WA_NativeWindow. Task-number: QTBUG-33523 Change-Id: I4ab043e8b3c3369aec41b44275fb3099d90e55b4 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'src/widgets/kernel/qwidget_p.h')
-rw-r--r--src/widgets/kernel/qwidget_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/kernel/qwidget_p.h b/src/widgets/kernel/qwidget_p.h
index 0580f72e11..88aff2b65d 100644
--- a/src/widgets/kernel/qwidget_p.h
+++ b/src/widgets/kernel/qwidget_p.h
@@ -693,6 +693,7 @@ public:
uint isScrolled : 1;
uint isMoved : 1;
uint usesDoubleBufferedGLContext : 1;
+ uint mustHaveWindowHandle : 1;
#ifndef QT_NO_IM
uint inheritsInputMethodHints : 1;
#endif