Don't create attached LayoutMirroring on non Item

Authored by davidedmundson on Oct 4 2016, 7:50 AM.

Description

Don't create attached LayoutMirroring on non Item

Summary:
The current code tries checking if we're in RTL on the current object,
but is accidentally reading an attached property on the Translate object
rather than the root Item. This gives a warning, and more importantly
won't work.

BUG: 369836

Test Plan:
Ran plasmsa and opened applet handle
Ran plasmashell --reverse and opened applet handle

Reviewers: Plasma

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
davidedmundsonOct 4 2016, 8:05 AM
Differential Revision
D2927: Don't create attached LayoutMirroring on non Item
Parents
R119:3d1177204447: Image has width and height properties, not "size"
Branches
Unknown
Tags
Unknown