[qt] remove unused function