Null pointer check
Null pointer check

managedClient() is allowed to return 0.

Change-Id: I67f4ad9cc9bf40a829c2a26895529cabf5a716c0
Sanity-Review: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com>
Reviewed-by: Andy Nichols <3d1e63b963f99f97839545621c6a9a8e2b2ab8fd@nokia.com>

Tofee/qtwayland,locusf/qtwayland-1,ntanibata/qtwayland,locusf/qtwayland-1,Tofee/qtwayland,locusf/qtwayland-1,ntanibata/qtwayland,locusf/qtwayland-1,Tofee/qtwayland,ntanibata/qtwayland