Fix KMimeType::Ptr::isNull implementation.

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

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.

  
Loading...