Review Request: Small EngineController refactoring

Mark Kretschmann kretschmann at kde.org
Mon Oct 25 13:10:07 CEST 2010


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

Ship it!


New patch works fine. No problems.

- Mark


On 2010-10-24 20:30:15, Ralf Engels wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100097/
> -----------------------------------------------------------
> 
> (Updated 2010-10-24 20:30:15)
> 
> 
> Review request for Amarok.
> 
> 
> Summary
> -------
> 
> It turned out that calling EngineController::play did not call Track::finishedPlaying.
> This was done by the PlaylistActions.
> In all other cases the EngineController called finishedPlaying by itself.
> 
> So I moved the function from PlaylistActions to the controller.
> As it turned out the EngineController even leaked BoundedPlaybackCapability objects in stop().
> 
> I hope this fixes 254631, but I think that the chances are not good.
> 
> 
> This addresses bug 254631.
>     https://bugs.kde.org/show_bug.cgi?id=254631
> 
> 
> Diffs
> -----
> 
>   src/EngineController.h 51e7fb3 
>   src/EngineController.cpp 5e07700 
>   src/playlist/PlaylistActions.cpp bc6ef5b 
> 
> Diff: http://git.reviewboard.kde.org/r/100097/diff
> 
> 
> Testing
> -------
> 
> Playing around with stop, next and so on while looking for the finishedPlaying debug output.
> 
> 
> Thanks,
> 
> Ralf
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/amarok-devel/attachments/20101025/fd045d27/attachment.htm 


More information about the Amarok-devel mailing list