diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2009-11-18 11:21:08 (GMT) |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2009-11-18 11:35:32 (GMT) |
commit | b6070e9a069219e4049fcf017d6a160b80bf37b7 (patch) | |
tree | 0e0c5a3164888b981d10e6f61ee78294383a3e58 /doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp | |
parent | 1dacf83b2c957d320e65335cfc5f9abfda94b7c0 (diff) | |
download | Qt-b6070e9a069219e4049fcf017d6a160b80bf37b7.zip Qt-b6070e9a069219e4049fcf017d6a160b80bf37b7.tar.gz Qt-b6070e9a069219e4049fcf017d6a160b80bf37b7.tar.bz2 |
Crash when rendering a scene using DeviceCoordinateCache
The execution flow would allow the widget the scene would be rendered on to be
null. However this very widget was being used when using DeviceCoordinateCache
to get the desktop size. We now skip this optimisation when no widget is
given. Auto-test included.
Reviewed-by: bnilsen
Task-number: QTBUG-5904
Diffstat (limited to 'doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp')
0 files changed, 0 insertions, 0 deletions