diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-09-06 14:46:49 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-09 14:49:27 +0200 |
commit | c03d0a984682ce5cea5a5882bab0075318b18f08 (patch) | |
tree | ff68e7c62a119d83fa1fd7020f1e3be29fd6f8f1 /tools | |
parent | 42223a777e28f2e6884cfd5540618ba9b571954e (diff) |
Windows: Use QSharedPointer for the dialog helpers.
The dialog thread can outlive the platform dialog helper if
the helper is destroyed. In that case, IFileDialog::Show()
returns since the parent window is destroyed and then tried
to emit signals on the destroyed helper class instance.
Pass a shared pointer to the native dialog instead of a pointer
to the helper class to the dialog.
Task-number: QTBUG-32494
Task-number: QTBUG-30513
Change-Id: I7c2e769460270a26d886fdefee93ea59c2a17196
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions