[Okular-devel] Review Request: Comicbook: Simplify mimetype queries
Albert Astals Cid
tsdgeos at terra.es
Sun Mar 4 23:23:10 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103941/#review11133
-----------------------------------------------------------
To be honest i don't like these changes at all
The .desktop files say
MimeType=application/x-cbz;application/x-cbr;application/x-cbt;
and that is waht we should be checking for.
- Albert Astals Cid
On Feb. 11, 2012, 5:59 p.m., David Palacio wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103941/
> -----------------------------------------------------------
>
> (Updated Feb. 11, 2012, 5:59 p.m.)
>
>
> Review request for Okular.
>
>
> Description
> -------
>
> Simplify mimetype queries.
>
> String comparisons are not recommended by KMimeType class. KMimeType::is() also hadles type inheritance. E.g.:
> application/x-cbt inherits application/x-tar
>
>
> Diffs
> -----
>
> generators/comicbook/document.cpp 3ba7483
>
> Diff: http://git.reviewboard.kde.org/r/103941/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> David Palacio
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20120304/96c21f12/attachment.html>
More information about the Okular-devel
mailing list