Fix bad QObject::connect() argument
This fixes the warning that's printed when InputMethod tries to connect the frameGeometryChanged signal of a null toplevel.
This fixes the warning that's printed when InputMethod tries to connect the frameGeometryChanged signal of a null toplevel.