Removed dup QApplication call