Changed because of compile error
It doesn't make sence to delete a QSharedPointer since its going to delete itself when not referenced