diff options
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
-rw-r--r-- | src/widgets/kernel/qwidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index b4be9bbfe7..99a6a24aff 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -1246,6 +1246,7 @@ void QWidgetPrivate::create() // in case the extra was already valid. if (!win) { createTLSysExtra(); + Q_ASSERT(topData()->window); win = topData()->window; } |