Silence qml error message
ClosedPublic

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

Details

Summary

model.AppPid is documented to not always exist, so use the same check
that is used in othere places in the file.
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:347: Unable to assign [undefined] to int

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
gladhorn created this revision.Jul 2 2019, 7:33 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJul 2 2019, 7:33 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
gladhorn requested review of this revision.Jul 2 2019, 7:33 AM
broulik accepted this revision.Jul 2 2019, 7:34 AM
This revision is now accepted and ready to land.Jul 2 2019, 7:34 AM
hein accepted this revision.Jul 2 2019, 7:39 AM
This revision was automatically updated to reflect the committed changes.