<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dep_remove_prj(self, *args, **kwargs):
 """Remove the selected project from the department :returns: None :rtype: None :raises: None """

        if not self.cur_dep:
            return
        i = self.dep_prj_tablev.currentIndex()
        item = i.internalPointer()
        if item:
            prj = item.internal_data()
            self.cur_dep.projects.remove(prj)
            item.set_parent(None)