Remove some redundant Qt4 code.