summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/statemachine
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-06-28 12:44:36 +0200
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-08-05 22:01:51 +0200
commitbde755558cbe4587ed0756524ce1b97caf675d0d (patch)
treee58500c5a12ab325bbd6c0d3d015d38c2d05ed28 /tests/auto/corelib/statemachine
parent54a4488ca5fa5e9277c392100017471214f14091 (diff)
Do not add QOffscreenSurface windows to the global list
QOffscreenSurface has to stay usable even after returning from app.exec(). Hence close()ing the underlying hidden window, that is used on platforms that do not provide real offscreen surfaces, is wrong. Normally all QWindows are closed (and thus destroy()'ed) when quitting the application, meaning the the offscreen surface cannot be made current anymore after returning from exec(). This is an unnecessary limitation and makes certain cleanup operations impossible. Backport of ba79f36cb1319a279068adb6d02a8993cbc62613 from dev. This is necessary for the 5.3 series too to avoid issues on exit in QQickWidget apps, on OS X in particular. Task-number: QTBUG-40505 Task-number: QTBUG-39908 Change-Id: Iea1489378a18f29ff84ba8f13a6dad2d66d2b315 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'tests/auto/corelib/statemachine')
0 files changed, 0 insertions, 0 deletions