[qt] commit preedit should clean up the preedit