Fix crash when docks are stacked
ClosedPublic

Authored by ervin on Apr 4 2016, 8:19 PM.

Details

Summary

In case of stacking, QMainWindow tends to delete the dock widget earlier
than we expect and behind our back, so better have a QPointer internally
to avoid dangling pointers.

Diff Detail

Repository
R4 Zanshin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ervin updated this revision to Diff 3131.Apr 4 2016, 8:19 PM
ervin retitled this revision from to Fix crash when docks are stacked.
ervin updated this object.
ervin edited the test plan for this revision. (Show Details)
ervin added reviewers: bensi, franckarrecot, mlaurent.
bensi accepted this revision.Apr 4 2016, 8:28 PM
bensi edited edge metadata.

Franck ? oh 10pm it's to late for you. good night, buddy ;)

This revision is now accepted and ready to land.Apr 4 2016, 8:28 PM
This revision was automatically updated to reflect the committed changes.