• David Faure's avatar
    Fix crash when arguments().mimeType() is an invalid mimetype name. · f264146e
    David Faure authored
    I have a JIRA bug report with a PDF attached, and mid-clicking the PDF
    in konqueror leads to opening an okularpart with mimetype="application/x-octet-stream"
    (the x- in there is very unusual, and unknown to shared-mime-info).
    Fixed with null pointer checks.
    REVIEW: 122074
part.cpp 97.6 KB