summaryrefslogtreecommitdiffstats
path: root/dist/changes-5.11.1
diff options
context:
space:
mode:
authorKaloyan Chehlarski <kaloyan.chehlarski@qt.io>2024-03-05 10:46:11 +0100
committerKaloyan Chehlarski <kaloyan.chehlarski@qt.io>2024-04-16 11:57:12 +0000
commit2b0edab1fd1245beea4c1dcd8653a46296dc8796 (patch)
treeb4897eb1d78fef1c034918d95e865e377c9b4050 /dist/changes-5.11.1
parentacdd3b6182b56bd1121acf3e6634770ffcbd7509 (diff)
Fix print preview dialog crashes in printme exampleHEADdev
The example runs a nested event loop while waiting for the printer to return a document. During that event loop, a user was previously free to click on any of the buttons in the print preview dialog, whoich would mess up the internal state and cause a crash. This change adds a filter to that event loop to exclude user input events, and updates the docs to mention the reasoning behind this pattern. Fixes: QTBUG-122916 Pick-to: 6.7 Change-Id: I4d3d336ffa9bd23e036772bd78f6f1e5870ab732 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'dist/changes-5.11.1')
0 files changed, 0 insertions, 0 deletions