Add qpointer in class Play