Fix crash when arguments().mimeType() is an invalid mimetype name.
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
parent
eb0da16e
Please register or sign in to comment