Skip to content

Fix DockWidget crach when area is a nullptr.#582

Merged
githubuser0xFFFF merged 1 commit into
githubuser0xFFFF:masterfrom
tmartsum:bugfix/fix_dockwidget_area_null_crash
Dec 1, 2023
Merged

Fix DockWidget crach when area is a nullptr.#582
githubuser0xFFFF merged 1 commit into
githubuser0xFFFF:masterfrom
tmartsum:bugfix/fix_dockwidget_area_null_crash

Conversation

@tmartsum

@tmartsum tmartsum commented Dec 1, 2023

Copy link
Copy Markdown

When requesting hide on a dockwidget that has been added to a dockmanager, but isn't yet visible, there was a creash. The crash has been fixed by moving the code to the existing guard check for the area.

When requesting hide on a dockwidget that has been added
to a dockmanager, but isn't yet visible, there was a creash.
The crash has been fixed by moving the code to the existing
guard check for the area.
@githubuser0xFFFF

Copy link
Copy Markdown
Owner

Thank you

@githubuser0xFFFF githubuser0xFFFF merged commit 5d6831d into githubuser0xFFFF:master Dec 1, 2023
@tmartsum tmartsum deleted the bugfix/fix_dockwidget_area_null_crash branch December 7, 2023 06:38
mike-malburg pushed a commit to TechSmith/Qt-Advanced-Docking-System that referenced this pull request Nov 6, 2025
When requesting hide on a dockwidget that has been added
to a dockmanager, but isn't yet visible, there was a creash.
The crash has been fixed by moving the code to the existing
guard check for the area.

Co-authored-by: Thorbjørn Lund Martsum <thorbjorn@luxion.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants