patch for src/browsers/FileBrowser.cpp

Ian Monroe ian.monroe at gmail.com
Fri Jan 16 18:44:55 UTC 2009


On Fri, Jan 16, 2009 at 11:14 AM,  <clouard.remy at free.fr> wrote:
> Hello,
>
> I've found a small issue in the filter bar, when you click on the clear filter/apply last filter button your query will be surrounded by more and more "*".
>
> So I've modified FileBrowser.cpp a bit so that it ignores leading and trailing stars (patch attached).
>
> This is my very first patch, sorry for this very little contribution, let me know if you think of a better solution :-)
>
> Thanks in advance !
>
> Best Regards,
>
> Rémy (shikamaru)

This code wouldn't compile. We use Qt, see the docs for QString here:
http://doc.trolltech.com/qstring.html

The logic of your patch makes sense, but if you could rework and test
it that'd be great.

Thanks,
Ian



More information about the Amarok mailing list