D13183: Use Control.palette

Marco Martin noreply at phabricator.kde.org
Tue May 29 10:37:18 UTC 2018


mart added inline comments.

INLINE COMMENTS

> kquickstyleitem.cpp:716
> +    if (m_control) {
> +        m_styleoption->palette = m_control->property("palette").value<QPalette>();
> +    } else {

it should check if that proeprty is valid and if managed to get an intelligible qpalette out of it

REPOSITORY
  R858 Qt Quick Controls 2: Desktop Style

REVISION DETAIL
  https://phabricator.kde.org/D13183

To: apol, #kirigami, mart
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180529/94fbe210/attachment.html>


More information about the Plasma-devel mailing list