D29152: Allow PlaceholderMessage to be text-less

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Apr 24 14:47:30 BST 2020


broulik added inline comments.

INLINE COMMENTS

> PlaceholderMessage.qml:220
>  
> +        visible: text && text.length > 0
> +

`text` is a string property and as such always present, you can simplify this to

  visible: text !== ""

or

  visible: text.length > 0

REPOSITORY
  R169 Kirigami

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

To: ngraham, iasensio, mart, #kirigami
Cc: broulik, iasensio, plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, davidedmundson, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200424/63980a13/attachment.html>


More information about the Plasma-devel mailing list