diff options
author | Morten Johan Sorvig <morten.sorvig@nokia.com> | 2012-04-20 08:29:14 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-20 12:46:47 +0200 |
commit | fb8cd418fbda05b2aff3f0f7035df3ef8343007d (patch) | |
tree | 5bc56e181da64c9183ec17e8bdb7e455c0b8c694 /src/corelib | |
parent | 65ae2151c34877d7a5a046a39e34a8513c849f8f (diff) |
Fix crash in QCocoaBackingStore.
QWindow->handle() may be null during construction,
and also during calls to resize(). Get and check
the pointer at each call instead of caching it
in the constructor.
Change-Id: Icd950b55e16fdd2077e3b7fe3c3393d8b89b5903
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions