Review Request 122988: make PlasmaCore.ColorScope work better as advertised
Marco Martin
notmart at gmail.com
Thu Mar 19 10:21:44 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122988/
-----------------------------------------------------------
(Updated March 19, 2015, 10:21 a.m.)
Status
------
This change has been marked as submitted.
Review request for Plasma.
Changes
-------
Submitted with commit ecbd619566c2664034fb100598de68e2cba8e35a by Marco Martin to branch master.
Repository: plasma-framework
Description
-------
Since attached properties cannot ever change during the lifetime of the object, a colorscope needs to be created for each obect that asks for the attached property.
now each instance if (internal) has m_inherit (only those created as an attached property), will search for the property of the proper ancestor.
Not super efficient, but the proeprties should be actually asked for rarely enough.
doesn't look much nice, but seems to work pretty reliably and the only way to.
Diffs
-----
src/declarativeimports/core/colorscope.h fa75b9d
src/declarativeimports/core/colorscope.cpp cca0d2f
src/declarativeimports/core/framesvgitem.h 20486c7
src/declarativeimports/core/framesvgitem.cpp e2a0789
Diff: https://git.reviewboard.kde.org/r/122988/diff/
Testing
-------
Thanks,
Marco Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150319/3b278b1f/attachment-0001.html>
More information about the Plasma-devel
mailing list