Supress QML warning
ClosedPublic

Authored by davidedmundson on Aug 19 2016, 12:10 AM.

Details

Reviewers
broulik
Group Reviewers
Plasma
Commits
R119:e202289ea3d7: Supress QML warning
Summary

Role LegacyWinIdList can be null, for example on a StartupItem or on
Wayland. This means we access a property on an undefined object.

Fixes:
share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipDelegate.qml:41:
TypeError: Cannot read property 'length' of undefined

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.
davidedmundson retitled this revision from to Supress QML warning.
davidedmundson updated this object.
davidedmundson edited the test plan for this revision. (Show Details)
davidedmundson added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptAug 19 2016, 12:10 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript

clearer syntax

broulik accepted this revision.Aug 19 2016, 8:33 AM
broulik added a reviewer: broulik.
This revision is now accepted and ready to land.Aug 19 2016, 8:33 AM
This revision was automatically updated to reflect the committed changes.