[TaskManager] For contextMenuComponent placement use accurate enum on right edge

Authored by romangg on Mar 1 2017, 3:31 PM.



The contextMenuComponent uses currently TopPosedLeftAlignedPopup for its placement property if it is on the right edge. Until now this had no influence because of the flawed space correction in plasma-framework. With D4867 this correctional behavior was improved and the context menu needs to use the correct enum for its placement. Otherwise it is placed on left top of the item.

Works also with unpatched plasma-frameworks.

Diff Detail

R119 Plasma Desktop
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
romangg created this revision.Mar 1 2017, 3:31 PM
hein accepted this revision.Mar 2 2017, 3:18 PM
This revision is now accepted and ready to land.Mar 2 2017, 3:18 PM
This revision was automatically updated to reflect the committed changes.