Instead of just fully loading the images, make use of QImageReader to query for the size if available, and in case just do the old way (full image loading).
This drastically kills the loading time of comicbook documents of at least 50%, even by 75% (and possibly something more) on the average case.
svn path=/trunk/KDE/kdegraphics/okular/; revision=917041
In other cases, when getting password requests via stderr, just kill the process and return with a failure code:
the proper solution would be handling the password request, but this is a non-trivial task that require some more work.
Thus, for now, just do not allow password-protected RARs to be opened.
BUG: 165596
svn path=/trunk/KDE/kdegraphics/okular/; revision=828998
- move in an own function the procedure to recognize an output
- try to detect first unrar-nonfree, then unrar
- keep and print on console the path of the found unrary
svn path=/trunk/KDE/kdegraphics/okular/; revision=809968