Commit 27c1e8a0 authored by Albert Astals Cid's avatar Albert Astals Cid

Don't crash on ps renamed to pdf. Change requested by core-devel

svn path=/trunk/kdegraphics/kpdf/; revision=392849
parent f6b9f9d1
......@@ -140,8 +140,8 @@ bool KPDFDocument::openDocument( const QString & docFile, const KURL & url )
QString mimeName = mime->name();
if ( mimeName == "application/pdf" )
generator = new PDFGenerator( this );
else if ( mimeName == "application/postscript" )
kdError() << "PS generator not available" << endl;
// else if ( mimeName == "application/postscript" )
// kdError() << "PS generator not available" << endl;
else
{
kdWarning() << "Unknown mimetype '" << mimeName << "'." << endl;
......
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