Review Request 119958: Fix thumbnails for mimetype groups.
David Faure
faure at kde.org
Tue Sep 9 00:28:47 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119958/#review66091
-----------------------------------------------------------
Ship it!
Thanks.
Minor issues, feel free to push after fixing.
src/widgets/previewjob.cpp
<https://git.reviewboard.kde.org/r/119958/#comment46129>
strange grammar, after the dot :)
"text/*" could be preceded with "such as".
src/widgets/previewjob.cpp
<https://git.reviewboard.kde.org/r/119958/#comment46128>
space after if
src/widgets/previewjob.cpp
<https://git.reviewboard.kde.org/r/119958/#comment46130>
space after if
- David Faure
On Sept. 8, 2014, 10:15 p.m., Maarten De Meyer wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119958/
> -----------------------------------------------------------
>
> (Updated Sept. 8, 2014, 10:15 p.m.)
>
>
> Review request for KDE Frameworks and David Faure.
>
>
> Repository: kio
>
>
> Description
> -------
>
> Fix a regression in PreviewJob. This one was hard to find :)
>
> KService::mimeTypes cannot handle mimetype groups. ex: text/*
> Use KService::serviceTypes instead and ignore the first item which is
> always type 'ThumbCreator'
>
> This is the quick and easy solution. I could also add support for mimetype groups to KService::mimeTypes. (so that it return all mimetypes in a group) Not sure what the best solution is. Are groups only used in thumbnailer files?
>
>
> Diffs
> -----
>
> src/widgets/previewjob.cpp 55a3fb7
>
> Diff: https://git.reviewboard.kde.org/r/119958/diff/
>
>
> Testing
> -------
>
> I'm porting a thumbnailer to frameworks 5. Before nothing happend, now I see thumbnails.
>
>
> Thanks,
>
> Maarten De Meyer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140909/1f0e6cbc/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list