broulik added inline comments.

INLINE COMMENTS

> AbstractItem.qml:36
>      property Item iconItem
> -    property int /*PlasmaCore.Types.ItemStatus*/ status
> -    property int /*PlasmaCore.Types.ItemStatus*/ effectiveStatus
> +    property int /*PlasmaCore.Types.ItemStatus*/ status: model.status ? 
> model.status : PlasmaCore.Types.UnknownStatus
> +    property int /*PlasmaCore.Types.ItemStatus*/ effectiveStatus: 
> model.effectiveStatus ? model.effectiveStatus : PlasmaCore.Types.UnknownStatus

You can simplify this to

  model.status || PlasmaCore.Types.UnknownStatus

REPOSITORY
  R120 Plasma Workspace

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

To: kmaterka, #plasma_workspaces, #plasma, ngraham, broulik, davidedmundson, 
apol
Cc: apol, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, 
zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, ahiemstra, mart

Reply via email to