Fix hideOnWindowDeactivate in Dialog and AppletPopup

Commit 65b00fa6 brought QuickViewSharedEngine to libplasma from KDeclarative, but also changed the logic of hiding of Dialog on focus change from checking for QuickViewSharedEngine to SharedQmlEngine, which is likely a typo. QWindow can never be cast to SharedQmlEngine (I think?) so this qobject_cast always returns nullptr.

BUG: 511187

Merge request reports

Loading
Loading