Review Request: Fix 260352: Show hidden tracks warning when tracks are removed after filtering
Nikhil Shantanu Marathe
nsm.nikhil at gmail.com
Wed Mar 23 08:05:32 CET 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100928/
-----------------------------------------------------------
Review request for Amarok.
Summary
-------
Fix 260352 where removing tracks from the playlist after applying a filter, does not show the "Warning: tracks have been hidden in the playlist" label.
This fixes it by re-applying the filter on the PrettyListView so that it emits the found/notFound signals. Since the filter itself hasn't changed, proxy updates don't happen, so it shouldn't be a performance hit.
Change is minor but submitted for review since it is an unfamiliar piece of code, and also for educational purposes
This addresses bug 260352.
https://bugs.kde.org/show_bug.cgi?id=260352
Diffs
-----
src/playlist/view/listview/PrettyListView.h f22a7c8
src/playlist/view/listview/PrettyListView.cpp cd650f6
Diff: http://git.reviewboard.kde.org/r/100928/diff
Testing
-------
Yes, it works fine. It is shown only when all filtered tracks are deleted as expected.
Thanks,
Nikhil Shantanu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/amarok-devel/attachments/20110323/fbb386e7/attachment-0001.htm
More information about the Amarok-devel
mailing list