Commit e0987c29 authored by Pino Toscano's avatar Pino Toscano

fix logic error

BUG: 178028

svn path=/trunk/KDE/kdegraphics/okular/; revision=898354
parent 4d752a2d
......@@ -69,7 +69,7 @@ bool Document::open( const QString &fileName )
extractImageFiles( entries );
} if ( mime->is( "application/x-cbr" ) || mime->name() == "application/x-rar" ) {
} else if ( mime->is( "application/x-cbr" ) || mime->name() == "application/x-rar" ) {
if ( !Unrar::isAvailable() ) {
mLastErrorString = i18n( "Cannot open document, unrar was not found." );
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment