D22208: Fix toolTipDelegate.virtualDesktopParent

Frederik Gladhorn noreply at phabricator.kde.org
Tue Jul 2 08:45:31 BST 2019


gladhorn created this revision.
gladhorn added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
gladhorn requested review of this revision.

REVISION SUMMARY
  The logic tried to do an early return, but that doesn't work with ||, so
  use && and check if there are >0 elements in the list, otherwise return
  a list containing only 0.
  
  This fixes a qml error message:
  file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:375: TypeError: Type error

REPOSITORY
  R119 Plasma Desktop

BRANCH
  master

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

AFFECTED FILES
  applets/taskmanager/package/contents/ui/Task.qml

To: gladhorn, #plasma
Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190702/f68b9034/attachment.html>


More information about the Plasma-devel mailing list