Qt: fix leak