Review Request: Activities Dataengine: avoid calling KActivities::Controller::listActivities() unnecessarily

Commit Hook null at kde.org
Sat Dec 17 19:19:39 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103358/#review9027
-----------------------------------------------------------


This review has been submitted with commit 480db607b4ec63108e18738eb2dfa51169dcd865 by Luiz Romário Santana Rios to branch master.

- Commit Hook


On Dec. 16, 2011, 12:25 a.m., Romário Rios wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103358/
> -----------------------------------------------------------
> 
> (Updated Dec. 16, 2011, 12:25 a.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Description
> -------
> 
> Avoid calling listActivities to get the list of running activities everytime by getting it once, storing it in a private member and modifying this member as activities come and go.
> 
> 
> Diffs
> -----
> 
>   plasma/generic/dataengines/activities/activityengine.h cbbf94c 
>   plasma/generic/dataengines/activities/activityengine.cpp 9436c34 
> 
> Diff: http://git.reviewboard.kde.org/r/103358/diff/diff
> 
> 
> Testing
> -------
> 
> Tested it now, removed some activities, added some more, stopped another bunch, and it seems to work just fine as long as I tested.
> 
> 
> Thanks,
> 
> Romário Rios
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20111217/2c0b77a9/attachment-0001.html>


More information about the Plasma-devel mailing list