Remove dead code and Qt update available dialog