Remove unnecessary runtime check.
Remove unnecessary runtime check.

Using qobject_cast on a 0 works as expected already. The if() gains
us nothing.

simonwagner/grantlee,simonwagner/grantlee,cutelyst/grantlee,simonwagner/grantlee,simonwagner/grantlee,cutelyst/grantlee,cutelyst/grantlee,cutelyst/grantlee,cutelyst/grantlee,simonwagner/grantlee,simonwagner/grantlee