[Purpose Plugin] Detect cancelling the prompt more reliably

Authored by broulik on Apr 10 2020, 1:07 PM.

Description

[Purpose Plugin] Detect cancelling the prompt more reliably

aboutToHide is emitted before an action is triggered and activeAction() is the action currently hovered.
This means we can't properly tell that the prompt got canceled, when hovering an action and then hitting
Escape to close the menu.
This patch sets a property in response to triggered and then does a delayed check for that in aboutToHide.

See also QTBUG-56761

Differential Revision: https://phabricator.kde.org/D28719

Details

Committed
broulikApr 10 2020, 1:08 PM
Differential Revision
D28719: [Purpose Plugin] Detect cancelling the prompt more reliable
Parents
R856:f2969d96b4c1: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown