Correctly testing a QSharedPointer if isNull()

Authored by thomasfischer on Sep 27 2018, 8:20 PM.