Fix KMimeType::Ptr::isNull implementation.

Review Request #124239 - Created July 3, 2015 and submitted

Information
Milian Wolff
kdelibs4support
master
e36deee...
Reviewers
kdeframeworks
dfaure, mlaurent
The pointer is null if the contained data is a nullptr, i.e. the
negating ! was missing from the code. Also, using constData is
imo more explicit here than using operator*.

This fixes various crashes in KMail & friends that relied on isNull.

  
Laurent Montel
Milian Wolff
Milian Wolff
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 7ebe1d32c4704e8048dfb2579dd4f5fa2ba9dce1 by Milian Wolff to branch master.
Loading...