removed QT ui specific code