D11743: [notifications applet] Fix two qml warnings about assigning [undefined]
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Tue Mar 27 10:57:16 UTC 2018
kossebau created this revision.
kossebau added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
kossebau requested review of this revision.
REVISION SUMMARY
Fixes
[...]/NotificationDelegate.qml:51:26: Unable to assign [undefined] to int
by using the correct name of the enum value.
[...]/NotificationDelegate.qml:122:33: Unable to assign [undefined] to bool
by catching with an alternative false if used property does not exist.
TEST PLAN
No more warnings e.g. on notifications for new emails from akonadi.
REPOSITORY
R120 Plasma Workspace
BRANCH
fixnotificationruntimewarnigs
REVISION DETAIL
https://phabricator.kde.org/D11743
AFFECTED FILES
applets/notifications/package/contents/ui/NotificationDelegate.qml
To: kossebau, #plasma
Cc: plasma-devel, ragreen, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180327/d5599355/attachment.html>
More information about the Plasma-devel
mailing list