Fix toolTipDelegate.virtualDesktopParent
ClosedPublic

Authored by gladhorn on Jul 2 2019, 7:45 AM.

Details

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

Diff Detail

Repository
R119 Plasma Desktop
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 13506
Build 13524: arc lint + arc unit
gladhorn created this revision.Jul 2 2019, 7:45 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJul 2 2019, 7:45 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
gladhorn requested review of this revision.Jul 2 2019, 7:45 AM
hein accepted this revision.Jul 2 2019, 7:48 AM
This revision is now accepted and ready to land.Jul 2 2019, 7:48 AM
This revision was automatically updated to reflect the committed changes.