Skip to content
Commit 9332c118 authored by Jakob Petsovits's avatar Jakob Petsovits
Browse files

Dialog: Always use an overlay as visual parent

If applicationWindow() is not available, fall back to the attached
Overlay.overlay item as default. This might stop existing on teardown,
so add a few checks to avoid warnings when the overlay becomes null.

This makes dialogs show up within System Settings KCMs even when
the original parent (e.g. a Loader) has zero height or width.
parent c8fc0ebd
Pipeline #666658 passed with stage
in 3 minutes and 11 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment