You should not assign variables in the view to the view itself as this might lead to side effects. Without "this->" it's OK.