diff options
author | Sergio Martins <sergio.martins.qnx@kdab.com> | 2013-01-03 10:34:38 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-03 18:19:28 +0100 |
commit | 00b0dff93f77bed09687b876777bbf0cb4d6bfff (patch) | |
tree | 0df0278d49f57b3b2d11596368d4132153064a75 /tests/benchmarks/gui | |
parent | 8e3d4f5e8752c035036a00c85b5dccc2676e82da (diff) |
QNX: Don't crash because the window hasn't been initialized yet.
Don't call window->handle() inside the backingstore ctor, because
we might still have the window ctor in the call stack
( ex: a QWindow sub-class that creates a backingstore inside it's
ctor).
Crash can be reproduced by running examples/gui/analogclock.
Change-Id: I4622ceaeb05696c5ae0181a528f58e5d102dcb22
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests/benchmarks/gui')
0 files changed, 0 insertions, 0 deletions