[notifications applet] Fix two qml warnings about assigning [undefined]

Authored by kossebau on Mar 27 2018, 10:45 AM.

Description

[notifications applet] Fix two qml warnings about assigning [undefined]

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 proper initialization of notification model data

Test Plan: No more warnings e.g. on notifications for new emails from akonadi.

Reviewers: Plasma, broulik

Reviewed By: Plasma, broulik

Subscribers: broulik, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D11743

Details

Committed
kossebauMar 27 2018, 12:06 PM
Reviewer
Plasma
Differential Revision
D11743: [notifications applet] Fix two qml warnings about assigning [undefined]
Parents
R120:869dc2ac0218: Update version number for 5.12.4 GIT_SILENT
Branches
Unknown
Tags
Unknown