[Qt] Remove dead code