Review Request: Fix for bug 263693: The Delete Tracks dialog is misleading/ambiguous
Matěj Laitl
matej at laitl.cz
Wed Mar 7 23:22:18 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102236/#review11220
-----------------------------------------------------------
src/core-impl/collections/support/CollectionLocationDelegateImpl.cpp
<http://git.reviewboard.kde.org/r/102236/#comment9022>
By the way, !trackname.isEmpty() in if clause would suffice - that's how else if works.
(also, there's extra parenthesis after trackName -- I wonder whether you actually tried to compile this) Anyways, you needn't to update the patch, I will do it when commiting. (but if you want, do it)
src/core-impl/collections/support/CollectionLocationDelegateImpl.cpp
<http://git.reviewboard.kde.org/r/102236/#comment9023>
Same here, !artistName().isEmpty() would suffice.
- Matěj Laitl
On March 7, 2012, 11:12 p.m., Ryan McCoskrie wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102236/
> -----------------------------------------------------------
>
> (Updated March 7, 2012, 11:12 p.m.)
>
>
> Review request for Amarok.
>
>
> Description
> -------
>
> Fix for bug 263693. When the user is asked to confirm deleting a file from his/her music collection the prompt will use the songs meta-data in place of the path name if possible.
>
>
> This addresses bug 263693.
> https://bugs.kde.org/show_bug.cgi?id=263693
>
>
> Diffs
> -----
>
> src/core-impl/collections/support/CollectionLocationDelegateImpl.h 12b975f
> src/core-impl/collections/support/CollectionLocationDelegateImpl.cpp fb7c18f
>
> Diff: http://git.reviewboard.kde.org/r/102236/diff/
>
>
> Testing
> -------
>
> Ran application and asked to delete several files from collection. Patch worked as expected.
> Deleted meta date from one track and asked to delete that also. Found that Meta::TrackPtr::prettyName()
> will return the file name of the track instead of an empty QString and that Meta::ArtistPtr::prettyName()
> returns 'Unknown Artist' in place of an empty QString. This will render the data checking needless under
> all known circumstances.
>
>
> Screenshots
> -----------
>
> Uses meta-data instead of raw file path
> http://git.reviewboard.kde.org/r/102236/s/220/
>
>
> Thanks,
>
> Ryan McCoskrie
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20120307/7e4a34c9/attachment-0001.html>
More information about the Amarok-devel
mailing list