Removed Qt4 compatible code