Review Request 120993: Cleanup Notifications.qml

Kai Uwe Broulik kde at privat.broulik.de
Wed Nov 5 13:54:30 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120993/
-----------------------------------------------------------

(Updated Nov. 5, 2014, 1:54 nachm.)


Review request for Plasma and Martin Klapetek.


Changes
-------

Adjust addNotification call in Jobs.qml


Repository: plasma-workspace


Description
-------

This cleans up the code in Notifications.qml a bit
 - Some minor code style stuff
 - new Array() ? []
 - Pass the notification object we get from the data engine to addNotification directly to avoid this ugly function with dozen parameters and creating the object ourselves which we alredy almost get for free already
 - Push actions into array directly instead of creating a new Object, settings its properties and then pushing it


Diffs (updated)
-----

  applets/notifications/package/contents/ui/Jobs.qml e48a466 
  applets/notifications/package/contents/ui/Notifications.qml 47a475a 

Diff: https://git.reviewboard.kde.org/r/120993/diff/


Testing
-------

Didn't notice anything unusual after running knotificationsdbustest


Thanks,

Kai Uwe Broulik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20141105/611fd9f6/attachment.html>


More information about the Plasma-devel mailing list