Fix qt wierdness
The first avoids a crash by g_return_if_fail()
and a return
with the same condition, and the other imitates undefined behavior Qt relies on to not behave badly.
The first avoids a crash by g_return_if_fail()
and a return
with the same condition, and the other imitates undefined behavior Qt relies on to not behave badly.