Review Request 118691: Change currentIndex of playlistModel to -1 when a media is not from playlist
Shantanu Tushar
shantanu at kde.org
Thu Jun 12 16:18:41 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118691/#review59887
-----------------------------------------------------------
libs/mediacenter/playlistmodel.h
<https://git.reviewboard.kde.org/r/118691/#comment41712>
currentIndex is not writable from QML so that PlaylistModel can have complete control over it.
A better way is to create a slot called resetCurrentIndex in PlaylistModel which will set it to -1.
- Shantanu Tushar
On June 12, 2014, 8:58 a.m., Ashish Madeti wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118691/
> -----------------------------------------------------------
>
> (Updated June 12, 2014, 8:58 a.m.)
>
>
> Review request for Plasma, Shantanu Tushar and Sinny Kumari.
>
>
> Repository: plasma-mediacenter
>
>
> Description
> -------
>
> Change the currentIndex of playlistModel to -1 when a media is played from somewhere other than playlist.
>
>
> Diffs
> -----
>
> libs/mediacenter/playlistmodel.h 0de7c56
> shells/newshell/package/contents/ui/mediacenter.qml a859225
>
> Diff: https://git.reviewboard.kde.org/r/118691/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ashish Madeti
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140612/567007b8/attachment.html>
More information about the Plasma-devel
mailing list