[Okular-devel] Review Request: Comicbook: Simplify mimetype queries

David Palacio dpalacio at orbitalibre.org
Sat Mar 3 02:23:18 UTC 2012



> On Feb. 12, 2012, 11:05 p.m., Albert Astals Cid wrote:
> > generators/comicbook/document.cpp, line 71
> > <http://git.reviewboard.kde.org/r/103941/diff/1/?file=49242#file49242line71>
> >
> >     We can't open gzip or bzip files anymore?

The only kind of gzipped/bzipped files this generator supports is a tar archive. Those are covered by x-compressed-tar and x-bzip-compressed-tar.


- David


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103941/#review10571
-----------------------------------------------------------


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/20120303/0f59005e/attachment.html>


More information about the Okular-devel mailing list